We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa98ab3 commit 1b1a1dbCopy full SHA for 1b1a1db
src/notebooks/deepnote/sqlCellStatusBarProvider.ts
@@ -44,8 +44,12 @@ export class SqlCellStatusBarProvider implements NotebookCellStatusBarItemProvid
44
45
public provideCellStatusBarItems(
46
cell: NotebookCell,
47
- _token: CancellationToken
+ token: CancellationToken
48
): ProviderResult<NotebookCellStatusBarItem | NotebookCellStatusBarItem[]> {
49
+ if (token?.isCancellationRequested) {
50
+ return undefined;
51
+ }
52
+
53
// Only show status bar for SQL cells
54
if (cell.document.languageId !== 'sql') {
55
return undefined;
0 commit comments