fix attach image on rehydration (#15359)

This commit is contained in:
Maddy
2021-05-06 17:13:00 -07:00
committed by GitHub
parent 4bc87c46a6
commit 1af8fdbb45

View File

@@ -162,6 +162,7 @@ export class CellModel extends Disposable implements ICellModel {
}
// TO DO: Check if name already exists and message the user?
this._attachments[name] = attachment;
this.sendChangeToNotebook(NotebookChangeType.CellMetadataUpdated);
}
}