Menu style will adapt if iframe in map is opened (#1422)

This commit is contained in:
GRL78 2021-09-08 15:43:46 +02:00 committed by GitHub
parent 65b9da926b
commit 2ea7b0cff1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 45 additions and 32 deletions

View file

@ -71,7 +71,7 @@ function createSubMenusStore() {
export const subMenusStore = createSubMenusStore();
function checkSubMenuToShow() {
export function checkSubMenuToShow() {
if (!get(userIsAdminStore)) {
subMenusStore.removeMenu(SubMenusInterface.globalMessages);
}
@ -81,8 +81,6 @@ function checkSubMenuToShow() {
}
}
checkSubMenuToShow();
export const customMenuIframe = new Map<string, { url: string; allowApi: boolean }>();
export function handleMenuRegistrationEvent(