Skip to content

Commit

Permalink
fix show_filters not working
Browse files Browse the repository at this point in the history
  • Loading branch information
hexcafe committed Jul 1, 2024
1 parent ba405ba commit cfbda81
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,9 @@ const DashboardBuilder: FC<DashboardBuilderProps> = () => {
threshold: [1],
});

const hideFilters = getUrlParam(URL_PARAMS.showFilters) === false;
const showFilterBar =
(crossFiltersEnabled || nativeFiltersEnabled) && !editMode;
(crossFiltersEnabled || nativeFiltersEnabled) && !editMode && !hideFilters;

const offset =
FILTER_BAR_HEADER_HEIGHT +
Expand Down

0 comments on commit cfbda81

Please sign in to comment.