This commit is contained in:
2022-03-06 18:40:30 +00:00
parent af53eb7ff8
commit 618dfd1a22

View File

@@ -255,6 +255,7 @@
item-value="id"
:readonly="formState.readOnly"
:label="$ay.t('Translation')"
:rules="[form().required(this, 'translationId')]"
:error-messages="
form().serverErrors(this, 'translationId')
"
@@ -285,6 +286,7 @@
persistent-hint
:readonly="formState.readOnly"
:label="$ay.t('CurrencyCode')"
:rules="[form().required(this, 'currencyName')]"
:error-messages="
form().serverErrors(this, 'currencyName')
"
@@ -302,6 +304,7 @@
persistent-hint
:readonly="formState.readOnly"
:label="$ay.t('LanguageCode')"
:rules="[form().required(this, 'languageOverride')]"
:error-messages="
form().serverErrors(this, 'languageOverride')
"
@@ -319,6 +322,7 @@
persistent-hint
:readonly="formState.readOnly"
:label="$ay.t('TimeZone')"
:rules="[form().required(this, 'timeZoneOverride')]"
:error-messages="
form().serverErrors(this, 'timeZoneOverride')
"
@@ -569,7 +573,11 @@ export default {
},
methods: {
goHelp() {
window.open(window.$gz.api.helpUrl() + "ay-start-localization", "_blank");
window.open(
window.$gz.api.helpUrl() +
"customer-notify-subscriptions#notification-settings",
"_blank"
);
},
canSave: function() {
return this.formState.valid && this.formState.dirty;