From 947e542b6a3b44ab56984d1b84a76deaf3a318b3 Mon Sep 17 00:00:00 2001
From: Richard Shiue <71320345+richardshiue@users.noreply.github.com>
Date: Wed, 10 Sep 2025 09:33:52 +0800
Subject: [PATCH] chore: hide invite members when not owner (#62)
---
src/components/app/workspaces/Workspaces.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/app/workspaces/Workspaces.tsx b/src/components/app/workspaces/Workspaces.tsx
index 6275eece..92c7eb35 100644
--- a/src/components/app/workspaces/Workspaces.tsx
+++ b/src/components/app/workspaces/Workspaces.tsx
@@ -190,7 +190,7 @@ export function Workspaces() {
- {currentWorkspace && (
+ {currentWorkspace && isOwner && (
{
setOpenInviteMember(true);