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 (apache#23237)
  • Loading branch information
kgabryje committed Feb 28, 2023
1 parent 0a7016d commit 473a69a
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 473a69a

Please sign in to comment.