This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user