Skip to content

Commit

Permalink
Fix updating saved state
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettmflynn committed Sep 27, 2023
1 parent 9a16288 commit 01e841c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/src/stories/pages/Page.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class Page extends LitElement {
save = async (overrides, runBeforeSave = true) => {
if (runBeforeSave) await this.beforeSave();
save(this, overrides);
this.info.states.saved = true;
if ("states" in this.info) this.info.states.saved = true;
this.unsavedUpdates = false;
};

Expand Down

0 comments on commit 01e841c

Please sign in to comment.