Skip to content

Commit 6f8e183

Browse files
committed
avoid updating sql block to the current integration
1 parent 4566419 commit 6f8e183

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/notebooks/deepnote/sqlCellStatusBarProvider.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,11 @@ export class SqlCellStatusBarProvider implements NotebookCellStatusBarItemProvid
322322
return;
323323
}
324324

325+
// No change
326+
if (selectedId === currentIntegrationId) {
327+
return;
328+
}
329+
325330
// Update cell metadata with new integration ID
326331
const edit = new WorkspaceEdit();
327332
const updatedMetadata = {

0 commit comments

Comments
 (0)