u-dicom-viewer icon indicating copy to clipboard operation
u-dicom-viewer copied to clipboard

error on upload multiple dicom files

Open krishna75011 opened this issue 3 years ago • 2 comments

please help me to resolve it

screenshot-localhost_3000-2021 03 04-18_48_21 screenshot-localhost_3000-2021 03 04-18_48_211 screenshot-localhost_3000-2021 03 04-18_48_212 screenshot-localhost_3000-2021 03 04-18_52_223 screenshot-localhost_3000-2021 03 04-18_52_224

krishna75011 avatar Mar 04 '21 13:03 krishna75011

Did you ever figure it out?

realPrimoh avatar Jul 21 '23 09:07 realPrimoh

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...

RR2pao avatar Oct 24 '23 08:10 RR2pao