Skip to content

Commit

Permalink
[frontend] Fix export
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Hassine committed May 31, 2021
1 parent 2e9fc9b commit bba9a18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ class ExportButtons extends Component {
commitLocalUpdate((store) => {
const me = store.getRoot().getLinkedRecord('me');
me.setValue(currentTheme.palette.type, 'theme');
this.setState({ exporting: false });
me.setValue(false, 'exporting');
setTimeout(() => this.setState({ exporting: false }), 2000);
});
});
}, 4000);
Expand Down

0 comments on commit bba9a18

Please sign in to comment.