Ver Fonte

fix: set styles in app controller

jmacura há 5 anos atrás
pai
commit
abcd9d131a
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      src/app.component.js

+ 2 - 0
src/app.component.js

@@ -12,6 +12,7 @@ export const HsComponent = {
   controller: function (
     $scope,
     $compile,
+    $element,
     gettext,
     HsCore,
     HsLayoutService,
@@ -23,6 +24,7 @@ export const HsComponent = {
     vm.exists = HsCore.exists;
     vm.panelVisible = HsLayoutService.panelVisible;
     vm.PraAdjusterService = PraAdjusterService;
+    HsLayoutService.fullScreenMap($element, HsCore);
     HsLayoutService.sidebarRight = false;
     // HsLayoutService.sidebarToggleable = false;
     // HsCore.singleDatasources = true;