diff options
Diffstat (limited to 'client/src/app/core/routing')
-rw-r--r-- | client/src/app/core/routing/menu-guard.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/core/routing/menu-guard.service.ts b/client/src/app/core/routing/menu-guard.service.ts index 9df285635..501e009c0 100644 --- a/client/src/app/core/routing/menu-guard.service.ts +++ b/client/src/app/core/routing/menu-guard.service.ts | |||
@@ -15,7 +15,7 @@ abstract class MenuGuard implements CanActivate, CanDeactivate<any> { | |||
15 | // small screens already have the site-wide onResize from screenService | 15 | // small screens already have the site-wide onResize from screenService |
16 | // > medium screens have enough space to fit the administrative menus | 16 | // > medium screens have enough space to fit the administrative menus |
17 | if (!this.screen.isInMobileView() && this.screen.isInMediumView()) { | 17 | if (!this.screen.isInMobileView() && this.screen.isInMediumView()) { |
18 | this.menu.isMenuDisplayed = this.display | 18 | this.menu.setMenuDisplay(this.display) |
19 | } | 19 | } |
20 | return true | 20 | return true |
21 | } | 21 | } |