Menu style will adapt if iframe in map is opened (#1422)
This commit is contained in:
parent
65b9da926b
commit
2ea7b0cff1
5 changed files with 45 additions and 32 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue