mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
linting
This commit is contained in:
parent
35bd3d2a61
commit
94656a901b
@ -110,7 +110,7 @@
|
||||
name="warning"
|
||||
/>
|
||||
</ds-chip>
|
||||
|
||||
|
||||
<!-- location -->
|
||||
<!-- TODO: move 'ds-select' from styleguide to main code and implement missing translation etc. functionality -->
|
||||
<ds-select
|
||||
|
||||
@ -5,11 +5,7 @@
|
||||
:value="value"
|
||||
@change="onActionRadiusChange"
|
||||
>
|
||||
<option
|
||||
v-for="actionRadius in actionRadiusOptions"
|
||||
:key="actionRadius"
|
||||
:value="actionRadius"
|
||||
>
|
||||
<option v-for="actionRadius in actionRadiusOptions" :key="actionRadius" :value="actionRadius">
|
||||
{{ $t(`group.actionRadii.${actionRadius}`) }}
|
||||
</option>
|
||||
</select>
|
||||
@ -20,7 +16,6 @@ export default {
|
||||
name: 'ActionRadiusSelect',
|
||||
props: ['value'],
|
||||
data() {
|
||||
const actionRadius = ''
|
||||
return {
|
||||
actionRadiusOptions: ['regional', 'national', 'continental', 'global'],
|
||||
}
|
||||
@ -28,7 +23,7 @@ export default {
|
||||
methods: {
|
||||
onActionRadiusChange(event) {
|
||||
this.$emit('change', event.target.value)
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user