1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-21 22:29:39 +02:00

fix linter issues

This commit is contained in:
hay-kot 2021-08-07 16:49:55 -08:00
parent a1b1b529a3
commit 3ed197a843
21 changed files with 58 additions and 33 deletions

View file

@ -49,7 +49,10 @@
<script>
export default {
props: {
extras: Object,
extras: {
type: Object,
default: () => ({}),
},
},
data() {
return {
@ -57,8 +60,8 @@ export default {
dialog: false,
formKey: 1,
rules: {
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"),
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"),
},
};
},