Skip to content

Commit

Permalink
fix: fixed changing workspaces visibility regression
Browse files Browse the repository at this point in the history
  • Loading branch information
nickytonline committed Oct 17, 2024
1 parent d4399cf commit 02f9f13
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pages/workspaces/[workspaceId]/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,13 @@ const WorkspaceSettings = ({ workspace, canDeleteWorkspace }: WorkspaceSettingsP
<div className="flex flex-col py-8 gap-4">
<h2 className="!font-medium">Change Workspace Visibility</h2>

<Button variant="primary" className="w-fit">
<Button
variant="primary"
className="w-fit"
onClick={() => {
setIsWorkspaceVisibilityModalOpen(true);
}}
>
Set to {isPublic ? "private" : "public"}
</Button>
</div>
Expand Down

0 comments on commit 02f9f13

Please sign in to comment.