Skip to content

Commit

Permalink
fix: don't register Cloud Changes action if not configured in product…
Browse files Browse the repository at this point in the history
….json
  • Loading branch information
joyceerhl committed Dec 20, 2024
1 parent 3751af2 commit 9548348
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,9 @@ export class EditSessionsWorkbenchService extends Disposable implements IEditSes
}

private registerSignInAction() {
if (!this.serverConfiguration?.url) {
return;
}
const that = this;
const id = 'workbench.editSessions.actions.signIn';
const when = ContextKeyExpr.and(ContextKeyExpr.equals(EDIT_SESSIONS_PENDING_KEY, false), ContextKeyExpr.equals(EDIT_SESSIONS_SIGNED_IN_KEY, false));
Expand Down

0 comments on commit 9548348

Please sign in to comment.