fix(boards): selection menu not shown to users without change access (#4689)
This commit is contained in:
1 parent
f4bb90013a
commit
a0a11e3570
1 file changed
+1
-1
@@ -44,7 +44,7 @@ export const BoardContentHeaderActions = () => {
|
|||||||
const { hasChangeAccess } = useBoardPermissions(board);
|
const { hasChangeAccess } = useBoardPermissions(board);
|
||||||
|
|
||||||
if (!hasChangeAccess) {
|
if (!hasChangeAccess) {
|
||||||
return null; // Hide actions for user without access
|
return <SelectBoardsMenu />;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in new issue
Block a user