license lockout handling code for when db has more active users than license allows for

This commit is contained in:
2021-10-18 18:46:31 +00:00
parent f90e738f1d
commit 0254583c85

View File

@@ -232,6 +232,17 @@ export default {
vm.formState.loading = false;
vm.formState.ready = true;
window.$gz.eventBus.$on("menu-click", clickHandler);
if (this.$store.state.l) {
//license lockout, show popup and persistent error
await window.$gz.dialog.displayLTModalNotificationMessage(
"UserCountExceeded",
null,
"error",
this.$store.state.helpUrl + "adm-license#user-count-exceeded"
);
//
}
} catch (err) {
vm.formState.ready = true;
window.$gz.errorHandler.handleFormError(err, vm);
@@ -618,7 +629,8 @@ async function fetchTranslatedText(vm) {
"NewLicenseNotFound",
"HelpReleaseKey",
"HelpRestore",
"CopyDbId"
"CopyDbId",
"UserCountExceeded"
]);
}
</script>