Implemented the customer installed-base view
This commit is contained in:
@@ -26,6 +26,7 @@ function createContentModal({
|
||||
applyTheme,
|
||||
authSessionState,
|
||||
closeAccountPlansModal,
|
||||
closeInstallBaseModal,
|
||||
closeCustomerFilterPanel,
|
||||
closeOwnerFilterPanel,
|
||||
closePreferencesModal,
|
||||
@@ -432,6 +433,7 @@ function createContentModal({
|
||||
if (modal) {
|
||||
closePreferencesModal();
|
||||
closeAccountPlansModal();
|
||||
closeInstallBaseModal();
|
||||
modal.hidden = true;
|
||||
}
|
||||
|
||||
@@ -460,6 +462,10 @@ function createContentModal({
|
||||
}
|
||||
|
||||
if (event.key === "Escape") {
|
||||
if (closeInstallBaseModal()) {
|
||||
event.preventDefault();
|
||||
return;
|
||||
}
|
||||
const accountPlansModal = document.getElementById(ACCOUNT_PLANS_MODAL_ID);
|
||||
|
||||
if (accountPlansModal && !accountPlansModal.hidden) {
|
||||
|
||||
Reference in New Issue
Block a user