mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
format
This commit is contained in:
parent
be2f3f7978
commit
dd3bf23ce5
1 changed files with 7 additions and 10 deletions
|
@ -13,7 +13,7 @@
|
|||
:solo="solo"
|
||||
:return-object="returnObject"
|
||||
:flat="flat"
|
||||
@input="emitChange"
|
||||
@change="emitChange"
|
||||
>
|
||||
<template v-slot:selection="data">
|
||||
<v-chip
|
||||
|
@ -27,8 +27,8 @@
|
|||
>
|
||||
{{ data.item.name }}
|
||||
</v-chip>
|
||||
</template></v-select
|
||||
>
|
||||
</template>
|
||||
</v-select>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
@ -72,13 +72,10 @@ export default {
|
|||
return this.tagSelector ? "Tags" : "Categories";
|
||||
},
|
||||
activeItems() {
|
||||
return this.tagSelector ? this.allTags : this.allCategories;
|
||||
},
|
||||
allCategories() {
|
||||
if (this.tagSelector) return this.$store.getters.getAllTags;
|
||||
else {
|
||||
return this.$store.getters.getAllCategories;
|
||||
},
|
||||
allTags() {
|
||||
return this.$store.getters.getAllTags;
|
||||
}
|
||||
},
|
||||
flat() {
|
||||
return this.selected.length > 0 && this.solo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue