Browse Source

HUE-8179 [dashboard] Text widget in a saved dashboard should have an edit dimension

Romain Rigaux 7 years ago
parent
commit
c19f52bbbe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/libs/dashboard/src/dashboard/templates/common_search.mako

+ 1 - 1
desktop/libs/dashboard/src/dashboard/templates/common_search.mako

@@ -739,7 +739,7 @@ ${ dashboard.layout_skeleton(suffix='search') }
 
   <!-- ko if: $root.getFacetFromQuery(id()).has_data() -->
   <div class="row-fluid" data-bind="with: $root.getFacetFromQuery(id())">
-    <div data-bind="visible: $root.isEditing, with: $root.collection.getFacetById($parent.id())" style="margin-bottom: 20px">
+    <div data-bind="visible: $root.isGridster() || $root.isEditing(), with: $root.collection.getFacetById($parent.id())" style="margin-bottom: 20px">
       <span data-bind="template: { name: 'facet-toggle2', afterRender: function(){ $root.getWidgetById($parent.id()).isLoading(false); } }">
       </span>
     </div>