SETI / rms-opus

PDS OPUS - Outer Planets Data Search Tool
Apache License 2.0
9 stars 7 forks source link

Fix the issue that values are not properly converted when user changes unit selections #935

Closed juzen2003 closed 4 years ago

juzen2003 commented 4 years ago

Inside the unit select change event handler at line 516, make sure opus.currentUnitBySlug gets updated properly when normalize input api call is NOT run with all inputs empty. (Normally the record is updated at the return of normalize input api call). This will solve the issue that values are not properly converted when user:

  1. open a widget, select a unit
  2. type in or select a value
  3. wait until search is done, change to another unit.