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 Lily Kuang committed Mar 8, 2023
1 parent 710fb81 commit 3ddcfef
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 3ddcfef

Please sign in to comment.