Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
  • Loading branch information
SuZhou-Joe committed Aug 9, 2023
1 parent 47f8bd5 commit 8375910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/workspace/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class WorkspacesPlugin implements Plugin<{}, {}, WorkspacesPluginSetupDep
/**
* Retrieve workspace id from url
*/
const workspaceId = this.getWorkspaceIdFromURL() || PUBLIC_WORKSPACE;
const workspaceId = this.getWorkspaceIdFromURL();

if (workspaceId) {
const result = await core.workspaces.client.enterWorkspace(workspaceId);
Expand Down

0 comments on commit 8375910

Please sign in to comment.