Skip to content

Commit 13d2a61

Browse files
authored
fix: don't register Cloud Changes action if not configured in product.json (microsoft#236764)
1 parent 0c51035 commit 13d2a61

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/vs/workbench/contrib/editSessions/browser/editSessionsStorageService.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,9 @@ export class EditSessionsWorkbenchService extends Disposable implements IEditSes
455455
}
456456

457457
private registerSignInAction() {
458+
if (!this.serverConfiguration?.url) {
459+
return;
460+
}
458461
const that = this;
459462
const id = 'workbench.editSessions.actions.signIn';
460463
const when = ContextKeyExpr.and(ContextKeyExpr.equals(EDIT_SESSIONS_PENDING_KEY, false), ContextKeyExpr.equals(EDIT_SESSIONS_SIGNED_IN_KEY, false));

0 commit comments

Comments
 (0)