format & lint

This commit is contained in:
2023-10-04 15:01:01 +02:00
parent 800fc35e63
commit 45c1d83512
125 changed files with 15006 additions and 13222 deletions
+8 -9
View File
@@ -1,6 +1,6 @@
<template>
<label @dblclick="handleDbClick">
<input v-model="option.value" type="checkbox" :class="option.section" :name="option.id" />
<input type="checkbox" :class="option.section" :name="option.id" />
<span>
{{ $t(`filters.${option.id}`) }}
</span>
@@ -23,20 +23,20 @@ export default defineComponent({
props: {
option: {
type: Object as () => FilterOption,
required: true,
},
required: true
}
},
setup() {
return {
filterStore: useStationFiltersStore(),
filterStore: useStationFiltersStore()
};
},
watch: {
'option.value'() {
this.filterStore.changeFilterValue(this.option.name, !this.option.value);
},
}
},
methods: {
@@ -44,7 +44,7 @@ export default defineComponent({
e.preventDefault();
this.filterStore.lastClickedFilterId = this.option.id;
this.option.value = true;
// this.option.value = true;
this.filterStore.inputs.options
.filter((option) => {
@@ -53,8 +53,8 @@ export default defineComponent({
.forEach((option) => {
option.value = !this.option.value;
});
},
},
}
}
});
</script>
@@ -96,4 +96,3 @@ label {
}
}
</style>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff