Skip to content

Commit

Permalink
fix(flp): disable folder-level actions accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Nov 8, 2023
1 parent a6fd777 commit 83a4056
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const MenuActions: React.VFC<MenuActionsProps> = ({
return null;
}

// If the user cannot manage structure for the folder, no need to show the menu.
// If the user cannot manage folder structure, no need to show the menu.
if (!folder.canManageStructure) {
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export const Table = forwardRef<HTMLDivElement, TableProps>((props, ref) => {
);
}

// If the user cannot manage structure for the folder, no need to show the menu.
// If the user cannot manage folder structure, no need to show the menu.
if (!record.original.canManageStructure) {
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export const Table = forwardRef<HTMLDivElement, TableProps>((props, ref) => {
);
}

// If the user cannot manage structure for the folder, no need to show the menu.
// If the user cannot manage folder structure, no need to show the menu.
if (!entry.original.canManageStructure) {
return null;
}
Expand Down

0 comments on commit 83a4056

Please sign in to comment.