This commit is contained in:
2022-02-15 19:48:26 +00:00
parent b29ab8eceb
commit 27efdd9644
14 changed files with 28 additions and 54 deletions

View File

@@ -288,7 +288,7 @@ export default {
"UserCountExceeded",
null,
"error",
this.$store.state.helpUrl + "adm-license#user-count-exceeded"
window.$gz.api.helpUrl() + "adm-license#user-count-exceeded"
);
//
}

View File

@@ -560,10 +560,7 @@ export default {
},
methods: {
goHelp() {
window.open(
this.$store.state.helpUrl + "ay-start-localization",
"_blank"
);
window.open(window.$gz.api.helpUrl() + "ay-start-localization", "_blank");
},
canSave: function() {
return this.formState.valid && this.formState.dirty;

View File

@@ -62,7 +62,7 @@
<v-subheader>{{ $ay.t("Server") }}</v-subheader>
<div>
<span class="ml-6 text-body-1">{{ $ay.t("ServerAddress") }}: </span>
<span class="text-body-2">{{ $store.state.apiUrl }}</span>
<span class="text-body-2">{{ apiUrl }}</span>
</div>
<div>
<span class="ml-6 text-body-1">{{ $ay.t("Version") }}: </span>
@@ -158,6 +158,11 @@ export default {
}
};
},
computed: {
apiUrl() {
return window.$gz.api.APIUrl("");
}
},
async created() {
const vm = this;
try {

View File

@@ -561,10 +561,7 @@ export default {
},
methods: {
goHelp() {
window.open(
this.$store.state.helpUrl + "ay-start-localization",
"_blank"
);
window.open(window.$gz.api.helpUrl() + "ay-start-localization", "_blank");
},
canSave: function() {
return this.formState.valid && this.formState.dirty;

View File

@@ -292,10 +292,7 @@ export default {
},
methods: {
goHelp() {
window.open(
this.$store.state.helpUrl + "ay-start-localization",
"_blank"
);
window.open(window.$gz.api.helpUrl() + "ay-start-localization", "_blank");
},
translation() {
return window.$gz.translation;