From b44cf21caac5bf086d7a6ed41ee87907c7629a8b Mon Sep 17 00:00:00 2001 From: Sean Hatfield Date: Thu, 14 Aug 2025 20:50:11 -0700 Subject: [PATCH] Allow default users to reorder workspaces (#4292) * allow default users to reorder workspaces * unneeded prop --------- Co-authored-by: Timothy Carambat --- .../Sidebar/ActiveWorkspaces/index.jsx | 23 ++++++++----------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/frontend/src/components/Sidebar/ActiveWorkspaces/index.jsx b/frontend/src/components/Sidebar/ActiveWorkspaces/index.jsx index c55c2b12..545bd6c4 100644 --- a/frontend/src/components/Sidebar/ActiveWorkspaces/index.jsx +++ b/frontend/src/components/Sidebar/ActiveWorkspaces/index.jsx @@ -89,7 +89,6 @@ export default function ActiveWorkspaces() { key={workspace.id} draggableId={workspace.id.toString()} index={index} - isDragDisabled={user?.role === "default"} > {(provided, snapshot) => (
- {user?.role !== "default" && ( -
- -
- )} +
+ +