mirror of
https://github.com/AppFlowy-IO/AppFlowy-Web.git
synced 2025-11-30 19:37:55 +08:00
chore: hide invite members when not owner (#62)
This commit is contained in:
@@ -190,7 +190,7 @@ export function Workspaces() {
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuSeparator />
|
||||
<DropdownMenuGroup>
|
||||
{currentWorkspace && (
|
||||
{currentWorkspace && isOwner && (
|
||||
<DropdownMenuItem
|
||||
onSelect={() => {
|
||||
setOpenInviteMember(true);
|
||||
|
||||
Reference in New Issue
Block a user