Commit f94c28d0 authored by Justin Ho's avatar Justin Ho

Update translations with new label

And refactor frontend code. Use isEmpty to avoid prop validation
errors because value is a string and not a boolean.
parent dbad2b00
......@@ -109,17 +109,7 @@ export default {
};
},
valid() {
if (!this.required) {
return true;
}
if (this.model) {
return true;
}
if (!this.validated) {
return true;
}
return false;
return !this.required || !isEmpty(this.model) || !this.validated;
},
},
created() {
......
......@@ -8223,6 +8223,9 @@ msgstr ""
msgid "Enable header and footer in emails"
msgstr ""
msgid "Enable integration"
msgstr ""
msgid "Enable maintenance mode"
msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment