Skip to content

Commit 3fc0756

Browse files
author
guqiankun
committed
chore: 修复contextKey取值
1 parent c002419 commit 3fc0756

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/acr/src/modules/diff-folding/diff-folding.contribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export class DiffFoldingContribution extends WithEventBus implements CommandCont
223223
// zone widget event change
224224
this.addDispose(
225225
this.diffFoldingWidgetService.onUnFoldChanged(async (changeData) => {
226-
if (this.isDiffData) {
226+
if (this.isDiffData.get()) {
227227
// 文件不展开
228228
this.messageService.info(localize('codereview.folding.cantExpand'));
229229
return;

0 commit comments

Comments
 (0)