Skip to content

Commit

Permalink
UIDATIMP-1683: Trigger file selection window to open after click Choo…
Browse files Browse the repository at this point in the history
…se other files to upload button
  • Loading branch information
OleksandrHladchenko1 committed Dec 12, 2024
1 parent acadc5b commit bdcf138
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* Allow central tenant to create filed mapping profile for Orders and Invoices. (UIDATIMP-1685)
* Replace `_/proxy/tenants/${tenant}/modules` with `stripes.discovery.modules` object. (UIDATIMP-1686)
* Populate "Existing records" field when create match profile. (UIDATIMP-1689)
* Trigger file selection window to open after click `Choose other files to upload` button. (UIDATIMP-1683)

## [8.0.2](https://github.com/folio-org/ui-data-import/tree/v8.0.2) (2024-11-21)

Expand Down
3 changes: 2 additions & 1 deletion src/components/ImportJobs/ImportJobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,8 @@ export class ImportJobs extends Component {
cancelLabel={<FormattedMessage id="ui-data-import.cancel" />}
onConfirm={() => {
this.hideFilesExtensionsModal();
openDialogWindow();
// Ensure that any changes or state updates are completed before the dialog is opened
setTimeout(() => openDialogWindow(), 0);
}}
onCancel={this.hideFilesExtensionsModal}
/>
Expand Down

0 comments on commit bdcf138

Please sign in to comment.