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 6acd0be commit 1a57af9Copy full SHA for 1a57af9
kernel/src/components/Dialog.ts
@@ -51,9 +51,9 @@ export class Dialog {
51
// TODO: current widget might not be correct at this level, need to check and possibly change how we're getting this
52
console.log("[Dialog] saveCard: props.app =", props.app);
53
54
- // Wait for the app to not be null
55
- if (!props.app) {
56
- console.error("[Dialog] saveCard: props.app is null, cannot save notebook.");
+ // Wait for the app shell to not be null or undefined
+ if (!props.app.shell) {
+ console.error("[Dialog] saveCard: App shell is not available.");
57
return;
58
}
59
0 commit comments