From 1af8fdbb45c5f74459dcfbb93f912b67bfab281e Mon Sep 17 00:00:00 2001 From: Maddy <12754347+MaddyDev@users.noreply.github.com> Date: Thu, 6 May 2021 17:13:00 -0700 Subject: [PATCH] fix attach image on rehydration (#15359) --- src/sql/workbench/services/notebook/browser/models/cell.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sql/workbench/services/notebook/browser/models/cell.ts b/src/sql/workbench/services/notebook/browser/models/cell.ts index a78040814e..8a2e723541 100644 --- a/src/sql/workbench/services/notebook/browser/models/cell.ts +++ b/src/sql/workbench/services/notebook/browser/models/cell.ts @@ -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); } }