case 4491
This commit is contained in:
@@ -627,6 +627,27 @@ export default {
|
||||
})();
|
||||
}
|
||||
|
||||
//Show toast if out of date to non customer users, perpetual only ensured by server
|
||||
if (
|
||||
!vm.$store.getters.isCustomerUser &&
|
||||
!vm.$store.state.globalSettings.showUpdateAvailable
|
||||
) {
|
||||
window.$gz.eventBus.$emit(
|
||||
"notify-warning",
|
||||
`AyaNova update available ${vm.$store.state.globalSettings.latestVersion}`,
|
||||
vm.$store.state.globalSettings.changeLogUrl,
|
||||
10000
|
||||
);
|
||||
// (async function() {
|
||||
// await window.$gz.dialog.displayLTModalNotificationMessage(
|
||||
// "MaintenanceExpiredNote",
|
||||
// "MaintenanceExpired",
|
||||
// "error",
|
||||
// "https://ayanova.com/docs/adm-license/#maintenance-expired-message"
|
||||
// );
|
||||
// })();
|
||||
}
|
||||
|
||||
const toPath = vm.$route.params.topath; //set in app.vue::mounted
|
||||
if (toPath != undefined) {
|
||||
//open the url indicated
|
||||
|
||||
Reference in New Issue
Block a user