Skip to content

Commit 4fd01d1

Browse files
dbg
1 parent 807682b commit 4fd01d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/src/components/Dialog.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class Dialog {
4848
// create an arrow function that calls the save method on the serviceContainer but first iterates over all cells and gathers their code content if they are code cells
4949
async () => {
5050
// TODO: current widget might not be correct at this level, need to check and possibly change how we're getting this
51-
const notebook = props.app.shell.currentWidget as NotebookPanel | null;
51+
const notebook = (props.app.shell as any).currentWidget as NotebookPanel | null;
5252
var allCellContent : string = '';
5353

5454
console.log("[Dialog] saveCard: Saving notebook content...");

0 commit comments

Comments
 (0)