Skip to content

Commit 6afd95a

Browse files
committed
Add check of user signed in for GitHub access
1 parent 09e42b8 commit 6afd95a

File tree

1 file changed

+2
-0
lines changed
  • packages/app/src/app/pages/Sandbox/Editor/Workspace

1 file changed

+2
-0
lines changed

packages/app/src/app/pages/Sandbox/Editor/Workspace/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ class Workspace extends React.PureComponent<Props> {
156156
</WorkspaceItem>
157157

158158
{sandbox.owned &&
159+
currentUser &&
160+
currentUser.jwt &&
159161
!sandbox.git && (
160162
<WorkspaceItem title="GitHub">
161163
{currentUser.integrations.github ? ( // eslint-disable-line

0 commit comments

Comments
 (0)