fix category labels

This commit is contained in:
hay-kot 2021-04-07 16:30:10 -08:00
commit 0be23a3985
3 changed files with 4 additions and 4 deletions

View file

@ -23,6 +23,7 @@
v-model="page.categories" v-model="page.categories"
ref="categoryFormSelector" ref="categoryFormSelector"
@mounted="catMounted = true" @mounted="catMounted = true"
tag-selector="false"
/> />
</v-card-text> </v-card-text>

View file

@ -84,7 +84,7 @@
</v-toolbar-title> </v-toolbar-title>
<v-spacer></v-spacer> <v-spacer></v-spacer>
<NewCategoryTagDialog /> <NewCategoryTagDialog :tag-dialog="false" />
</v-app-bar> </v-app-bar>
<v-list height="300" dense style="overflow:auto"> <v-list height="300" dense style="overflow:auto">
<v-list-item-group> <v-list-item-group>

View file

@ -60,8 +60,7 @@ export default {
dialog: false, dialog: false,
itemName: "", itemName: "",
rules: { rules: {
required: val => required: val => !!val || "A Name is Required",
!!val || this.$t("settings.theme.theme-name-is-required"),
}, },
}; };
}, },
@ -71,7 +70,7 @@ export default {
return this.tagDialog ? "Create a Tag" : "Create a Category"; return this.tagDialog ? "Create a Tag" : "Create a Category";
}, },
inputLabel() { inputLabel() {
return this.tagDialog ? "Tag Name" : "Tag Category"; return this.tagDialog ? "Tag Name" : "Category Name";
}, },
}, },
watch: { watch: {