license lockout handling code for when db has more active users than license allows for
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user