Skip to content

Commit a426049

Browse files
authored
Allow server private (codesandbox#2953)
1 parent 985de04 commit a426049

File tree

1 file changed

+1
-4
lines changed
  • packages/app/src/app/pages/Sandbox/Editor/Workspace/Project

1 file changed

+1
-4
lines changed

packages/app/src/app/pages/Sandbox/Editor/Workspace/Project/Project.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ export const Project: React.FunctionComponent<IProjectProps> = ({
5454
} = useOvermind();
5555

5656
const template = getTemplateDefinition(sandbox.template);
57-
const { isServer } = template;
5857

5958
return (
6059
<Container>
@@ -116,9 +115,7 @@ export const Project: React.FunctionComponent<IProjectProps> = ({
116115
Unlisted (only available by url)
117116
</option>
118117
)}
119-
{isPatron && !isServer && (
120-
<option value={2}>Private</option>
121-
)}
118+
{isPatron && <option value={2}>Private</option>}
122119
</PrivacySelect>
123120
</>
124121
) : (

0 commit comments

Comments
 (0)