Browse Source

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

Enrico Berti 7 years ago
parent
commit
51546a15e1
1 changed files with 4 additions and 0 deletions
  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;