Skip to content

Commit

Permalink
@uppy/react: allow id from props (#4570)
Browse files Browse the repository at this point in the history
Fixes: #4482
  • Loading branch information
Murderlon committed Jul 13, 2023
1 parent 8f63df3 commit f71df14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@uppy/react/src/DashboardModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class DashboardModal extends Component {

installPlugin () {
const {
id = 'react:DashboardModal',
uppy,
target,
open,
Expand Down Expand Up @@ -77,7 +78,7 @@ class DashboardModal extends Component {
locale, // eslint-disable-line no-shadow
} = this.props
const options = {
id: 'react:DashboardModal',
id,
target,
closeModalOnClickOutside,
disablePageScrollWhenModalOpen,
Expand Down

0 comments on commit f71df14

Please sign in to comment.