Skip to content

Commit

Permalink
fix(dashboard): Don't show user without edit perm cross filters checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed Feb 28, 2023
1 parent 0a7016d commit 47a72c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const FilterBarSettings = () => {
);
const menuItems: DropDownSelectableProps['menuItems'] = [];

if (isCrossFiltersFeatureEnabled) {
if (isCrossFiltersFeatureEnabled && canEdit) {
menuItems.unshift({
key: crossFiltersMenuKey,
label: crossFiltersMenuItem,
Expand Down

0 comments on commit 47a72c3

Please sign in to comment.