Skip to content

Commit

Permalink
fix(dashboard): Don't show cross filters checkbox to users without wr…
Browse files Browse the repository at this point in the history
…ite permissions (#23237)

(cherry picked from commit 473a69a)
  • Loading branch information
kgabryje authored and eschutho committed Mar 13, 2023
1 parent 2f37582 commit bac5bab
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 bac5bab

Please sign in to comment.