Skip to content

Commit

Permalink
Update dirty on state when clicking on save button
Browse files Browse the repository at this point in the history
  • Loading branch information
LCarbonellRod authored and tonyanziano committed Sep 4, 2019
1 parent 7e01cf5 commit 5022eb3
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -300,6 +300,7 @@ export class AppSettingsEditor extends React.Component<AppSettingsEditorProps, A
const newState = keys.reduce((s, key) => ((s[key] = settings[key]), s), {}) as FrameworkSettings;
newState.hash = await generateHash(newState);

this.setState({ dirty: false });
this.props.saveFrameworkSettings(newState);
};

Expand Down

0 comments on commit 5022eb3

Please sign in to comment.