소스 검색

HUE-8459 [report] Hide right assist on report mode

Enrico Berti 7 년 전
부모
커밋
51546a15e1
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      desktop/libs/dashboard/src/dashboard/templates/common_search.mako

+ 4 - 0
desktop/libs/dashboard/src/dashboard/templates/common_search.mako

@@ -4190,6 +4190,10 @@ $(document).ready(function () {
     huePubSub.publish('gridster.remove.scrollbars');
   });
 
+  %if is_report:
+    huePubSub.publish('right.assist.hide', true);
+  %endif
+
   var isDraggingOrResizingWidgets = false;
   var tempDraggableGridsterWidget = null;