diff --git a/src/vs/workbench/contrib/comments/browser/commentThreadWidget.ts b/src/vs/workbench/contrib/comments/browser/commentThreadWidget.ts index 92a0c5c183d..ce8407db283 100644 --- a/src/vs/workbench/contrib/comments/browser/commentThreadWidget.ts +++ b/src/vs/workbench/contrib/comments/browser/commentThreadWidget.ts @@ -127,7 +127,7 @@ export class ReviewZoneWidget extends ZoneWidget implements ICommentThreadWidget this._commentThreadContextValue = contextKeyService.createKey('commentThread', _commentThread.contextValue); this._resizeObserver = null; - this._isExpanded = _commentThread.collapsibleState ? _commentThread.collapsibleState === modes.CommentThreadCollapsibleState.Expanded : undefined; + this._isExpanded = _commentThread.collapsibleState === modes.CommentThreadCollapsibleState.Expanded; this._globalToDispose = []; this._commentThreadDisposables = []; this._submitActionsDisposables = [];