This commit is contained in:
2020-07-22 23:02:30 +00:00
parent c95ae9b20b
commit 31dbbe2086

View File

@@ -158,6 +158,22 @@
@input="fieldValueChanged('notifyFromAddress')"
></v-text-field>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field
v-model="obj.ayaNovaServerUrl"
:readonly="formState.readOnly"
:disabled="formState.readOnly"
:clearable="!formState.readOnly"
@click:clear="fieldValueChanged('ayaNovaServerUrl')"
:label="$ay.t('AyaNovaServerUrl')"
:rules="[form().required(this, 'ayaNovaServerUrl')]"
:error-messages="form().serverErrors(this, 'ayaNovaServerUrl')"
ref="ayaNovaServerUrl"
:data-cy="!!$ay.dev ? 'ayaNovaServerUrl' : false"
@input="fieldValueChanged('ayaNovaServerUrl')"
></v-text-field>
</v-col>
</v-row>
</v-form>
</v-col>
@@ -252,7 +268,8 @@ namespace AyaNova.Models
smtpPassword: null,
connectionSecurity: null,
smtpServerPort: null,
notifyFromAddress: null
notifyFromAddress: null,
ayaNovaServerUrl: null
},
formState: {
ready: false,
@@ -467,7 +484,8 @@ async function fetchTranslatedText(vm) {
"SmtpPassword",
"ConnectionSecurity",
"SmtpServerPort",
"NotifyFromAddress"
"NotifyFromAddress",
"AyaNovaServerUrl"
]);
}