Skip to content

Commit

Permalink
[ Fix ] Selecting Same Workspace Again Gives Notification About Works…
Browse files Browse the repository at this point in the history
…pace is Changed (#68)
  • Loading branch information
Sumitwarrior7 authored Mar 31, 2024
1 parent ca6ae63 commit 0ade592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/ExecuteViewSubmitHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ export class ExecuteViewSubmitHandler {

const selectedWorkspace: ITokenInfo = JSON.parse(workspaceInfo);

if (selectedWorkspace !== tokenInfo) {
if (selectedWorkspace.workspace_id !== tokenInfo.workspace_id) {
await oAuth2Storage.connectUserToWorkspace(
selectedWorkspace,
user.id
Expand Down

0 comments on commit 0ade592

Please sign in to comment.