Skip to content

Commit 449c386

Browse files
authored
Fix microsoft#172426. Convert cell output to dto on model change. (microsoft#172444)
1 parent 207aafc commit 449c386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class NotebookEditorModelManager extends Disposable {
124124
eol: cell.textBuffer.getEOL(),
125125
language: cell.language,
126126
cellKind: cell.cellKind,
127-
outputs: cell.outputs,
127+
outputs: cell.outputs.map(op => ({ outputId: op.outputId, outputs: op.outputs })),
128128
metadata: cell.metadata,
129129
internalMetadata: cell.internalMetadata,
130130
};

0 commit comments

Comments
 (0)