mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
linting
This commit is contained in:
parent
35bd3d2a61
commit
94656a901b
@ -5,11 +5,7 @@
|
|||||||
:value="value"
|
:value="value"
|
||||||
@change="onActionRadiusChange"
|
@change="onActionRadiusChange"
|
||||||
>
|
>
|
||||||
<option
|
<option v-for="actionRadius in actionRadiusOptions" :key="actionRadius" :value="actionRadius">
|
||||||
v-for="actionRadius in actionRadiusOptions"
|
|
||||||
:key="actionRadius"
|
|
||||||
:value="actionRadius"
|
|
||||||
>
|
|
||||||
{{ $t(`group.actionRadii.${actionRadius}`) }}
|
{{ $t(`group.actionRadii.${actionRadius}`) }}
|
||||||
</option>
|
</option>
|
||||||
</select>
|
</select>
|
||||||
@ -20,7 +16,6 @@ export default {
|
|||||||
name: 'ActionRadiusSelect',
|
name: 'ActionRadiusSelect',
|
||||||
props: ['value'],
|
props: ['value'],
|
||||||
data() {
|
data() {
|
||||||
const actionRadius = ''
|
|
||||||
return {
|
return {
|
||||||
actionRadiusOptions: ['regional', 'national', 'continental', 'global'],
|
actionRadiusOptions: ['regional', 'national', 'continental', 'global'],
|
||||||
}
|
}
|
||||||
@ -28,7 +23,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
onActionRadiusChange(event) {
|
onActionRadiusChange(event) {
|
||||||
this.$emit('change', event.target.value)
|
this.$emit('change', event.target.value)
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user