瀏覽代碼

fix: set styles in app controller

jmacura 5 年之前
父節點
當前提交
abcd9d131a
共有 1 個文件被更改,包括 2 次插入0 次删除
  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;