Open krishna75011 opened 3 years ago
Did you ever figure it out?
this.props.setFilesStore(this.items) this.close()
Here, in OpenMultipleFilesDlg.js (line 184), the code there os a dispatch to the redux store. For some reason, the state does not update immediately and if you call close(), you end up with an undefined value in the state. My solution was a barbaric one:
this.props.setFilesStore(this.items)
setTimeout(() => {
this.close()
}, '2000')
This is not elegant but works...
please help me to resolve it