Skip to content

Commit

Permalink
Show the filter bar in dashboard embed mode (#32222) (#32353)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bargs authored Mar 5, 2019
1 parent feca435 commit e8c71af
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/legacy/core_plugins/kibana/public/dashboard/dashboard_app.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@
</div>
</kbn-top-nav>

<!--
The top nav is hidden in embed mode but the filter bar must still be present so
we show the filter bar on its own here if the chrome is not visible.
-->
<filter-bar
ng-if="showFilterBar() && !chrome.getVisible()"
class-name="'globalFilterGroup__filterBar'"
filters="model.filters"
on-filters-updated="onFiltersUpdated"
index-patterns="indexPatterns"
></filter-bar>

<apply-filters-popover
filters="appState.$newFilters"
on-cancel="onCancelApplyFilters"
Expand Down

0 comments on commit e8c71af

Please sign in to comment.