This commit is contained in:
2020-06-16 23:25:11 +00:00
parent 1bfaf1b2db
commit ae8f88ce32
4 changed files with 32 additions and 5 deletions

View File

@@ -217,6 +217,15 @@ export default {
},
created() {
let vm = this;
(async function() {
await window.$gz.dialog.displayLTModalNotificationMessage(
"The support and updates subscription has now expired\nAyaNova can not be updated and support is no longer available",
"Maintenance expired",
"error"
);
})();
window.$gz.eventBus.$emit("menu-change", {
isMain: true,
icon: "",
@@ -257,6 +266,16 @@ export default {
auth
.authenticate(vm.input.username, vm.input.password)
.then(() => {
//check if support and updates has expired and show warning if so
if (vm.$store.state.globalSettings.maintenanceExpired) {
(async function() {
await window.$gz.dialog.displayLTModalNotificationMessage(
"MaintenanceExpiredNote",
"MaintenanceExpired",
"error"
);
})();
}
if (vm.$store.state.openObject != null) {
window.$gz.eventBus.$emit("openobject", null);
} else {