Skip to content

Commit

Permalink
fix: workspace roles for settings and members button
Browse files Browse the repository at this point in the history
  • Loading branch information
gakshita committed Feb 10, 2025
1 parent 16bc64e commit c2ba337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/core/components/workspace/sidebar/dropdown-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const SidebarDropdownItem = observer((props: TProps) => {
</div>
{workspace.id === activeWorkspace?.id && (
<>
{workspace?.role > EUserPermissions.GUEST && (
{workspace?.role === EUserPermissions.ADMIN && (
<div className="mt-2 mb-1 flex gap-2">
<Link
href={`/${workspace.slug}/settings`}
Expand Down

0 comments on commit c2ba337

Please sign in to comment.