chore: hide invite members when not owner (#62)

This commit is contained in:
Richard Shiue
2025-09-10 09:33:52 +08:00
committed by GitHub
parent bc4623e0c5
commit 947e542b6a

View File

@@ -190,7 +190,7 @@ export function Workspaces() {
</DropdownMenuItem>
<DropdownMenuSeparator />
<DropdownMenuGroup>
{currentWorkspace && (
{currentWorkspace && isOwner && (
<DropdownMenuItem
onSelect={() => {
setOpenInviteMember(true);