[dashboard] Delete widget should be always available
<div class="empty-gridster-widget card card-widget" data-bind="draggable: { data: $data, isEnabled: $root.isGridster() && !$root.isQueryBuilder(), options: getDraggableOptions({ data: $data, parent: $data }) }">
<h2 class="card-heading simple" title="${ _('Drag to move') }">
${ _('Empty widget') }
- <div class="inline pull-right margin-right-10" data-bind="visible: ($root.isEditing() || $root.isToolbarVisible()) && !$root.isQueryBuilder()">
+ <div class="inline pull-right margin-right-10" data-bind="visible: !$root.isQueryBuilder()">
<a href="javascript:void(0)" class="remove-widget" data-bind="publish: { 'gridster.remove': $data }"><i class="fa fa-times"></i></a>
</div>
</h2>
<!-- ko if: typeof $root.collection == 'undefined' || $root.collection.getFacetById(id()) == null -->
<span data-bind="editable: name, editableOptions: { enabled: true, placement: 'right' }" title="${ _('Click to change the widget title') }"></span>
<!-- /ko -->
- <div class="inline pull-right margin-right-10" data-bind="visible: ($root.isEditing() || $root.isToolbarVisible()) && !$root.isQueryBuilder()">
+ <div class="inline pull-right margin-right-10" data-bind="visible: !$root.isQueryBuilder()">
<a href="javascript:void(0)" class="remove-widget" data-bind="click: $root.removeWidget"><i class="fa fa-times"></i></a>
</div>
</h2>
