Skip to content

Commit 63eee78

Browse files
committed
build fix
1 parent 6018b23 commit 63eee78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/diff/unified-cell.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class UnifiedCellDiffManager extends BaseUnifiedDiffManager {
4343
* Check if this cell still has pending changes
4444
*/
4545
public hasPendingChanges(): boolean {
46-
return this._originalSource !== this._cell.sharedModel.getSource();
46+
return this._originalSource !== this._cell.model.sharedModel.getSource();
4747
}
4848

4949
/**
@@ -125,7 +125,7 @@ export class UnifiedCellDiffManager extends BaseUnifiedDiffManager {
125125
return;
126126
}
127127

128-
const cellId = this._cell.id;
128+
const cellId = this._cell.model.id;
129129
const footer = this._cellFooterTracker.getFooter(cellId);
130130
if (!footer) {
131131
return;
@@ -166,7 +166,7 @@ export class UnifiedCellDiffManager extends BaseUnifiedDiffManager {
166166
return;
167167
}
168168

169-
const cellId = this._cell.id;
169+
const cellId = this._cell.model.id;
170170
const footer = this._cellFooterTracker.getFooter(cellId);
171171
if (!footer) {
172172
return;

0 commit comments

Comments
 (0)