Skip to content

Commit

Permalink
Merge pull request #196 from kbss-cvut/fix-records-import-loader
Browse files Browse the repository at this point in the history
Fixed import dialog and loader not closing after importing records
  • Loading branch information
blcham authored Jul 23, 2024
2 parents b8a82f3 + 2e1a3ec commit c298508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/record/Records.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ class Records extends React.Component {
};

onImport = (file) => {
trackPromise(this.props.handlers.onImport(file), "records");
this.closeImportDialog();
trackPromise(this.props.handlers.onImport(file));
};

render() {
Expand Down

0 comments on commit c298508

Please sign in to comment.