Skip to content

Commit ee12474

Browse files
authored
fix: fixed changing workspaces visibility regression (#4172)
1 parent d4399cf commit ee12474

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pages/workspaces/[workspaceId]/settings.tsx

+7-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,13 @@ const WorkspaceSettings = ({ workspace, canDeleteWorkspace }: WorkspaceSettingsP
276276
<div className="flex flex-col py-8 gap-4">
277277
<h2 className="!font-medium">Change Workspace Visibility</h2>
278278

279-
<Button variant="primary" className="w-fit">
279+
<Button
280+
variant="primary"
281+
className="w-fit"
282+
onClick={() => {
283+
setIsWorkspaceVisibilityModalOpen(true);
284+
}}
285+
>
280286
Set to {isPublic ? "private" : "public"}
281287
</Button>
282288
</div>

0 commit comments

Comments
 (0)