We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c002419 commit 3fc0756Copy full SHA for 3fc0756
1 file changed
packages/acr/src/modules/diff-folding/diff-folding.contribution.ts
@@ -223,7 +223,7 @@ export class DiffFoldingContribution extends WithEventBus implements CommandCont
223
// zone widget event change
224
this.addDispose(
225
this.diffFoldingWidgetService.onUnFoldChanged(async (changeData) => {
226
- if (this.isDiffData) {
+ if (this.isDiffData.get()) {
227
// 文件不展开
228
this.messageService.info(localize('codereview.folding.cantExpand'));
229
return;
0 commit comments