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 cb9684b commit 3077d05Copy full SHA for 3077d05
packages/core/src/browser/saveable-service.ts
@@ -223,6 +223,10 @@ export class SaveableService implements FrontendApplicationContribution {
223
return false;
224
}
225
const saveable = Saveable.get(widget);
226
+ if (!saveable) {
227
+ console.warn('Saveable.get returned undefined on a known saveable widget. This is unexpected.');
228
+ }
229
+ // Enter branch if saveable absent since we cannot check autosaveability more definitely.
230
if (this.autoSave !== 'off' && (!saveable || this.shouldAutoSave(widget, saveable))) {
231
return true;
232
0 commit comments