Merge branch 'dev' of https://github.com/hay-kot/mealie into feature/recipe-categories

This commit is contained in:
hayden
2021-01-30 17:30:29 -09:00
22 changed files with 435 additions and 154 deletions

View File

@@ -16,19 +16,19 @@
<v-row>
<v-col>
<v-text-field
label="Total Time"
:label="$t('recipe.total-time')"
v-model="value.totalTime"
></v-text-field>
</v-col>
<v-col
><v-text-field
label="Prep Time"
:label="$t('recipe.prep-time')"
v-model="value.prepTime"
></v-text-field
></v-col>
<v-col
><v-text-field
label="Cook Time / Perform Time"
:label="$t('recipe.perform-time')"
v-model="value.performTime"
></v-text-field
></v-col>
@@ -163,7 +163,7 @@
<v-icon color="error">mdi-delete</v-icon>
</v-btn>
<v-text-field
label="Title"
:label="$t('recipe.title')"
v-model="value.notes[index]['title']"
></v-text-field>
</v-row>
@@ -223,7 +223,7 @@
<v-text-field
v-model="value.orgURL"
class="mt-10"
label="Original URL"
:label="$t('recipe.original-url')"
></v-text-field>
</v-col>
</v-row>
@@ -248,9 +248,9 @@ export default {
return {
fileObject: null,
rules: {
required: (v) => !!v || "Key Name Required",
whiteSpace: (v) =>
!v || v.split(" ").length <= 1 || "No White Space Allowed",
required: v => !!v || this.$i18n.t("recipe.key-name-required"),
whiteSpace: v =>
!v || v.split(" ").length <= 1 || this.$i18n.t("recipe.no-white-space-allowed"),
},
categoriesSearchInput: "",
tagsSearchInput: "",