FoxComm / highlander

Because there can only be one
MIT License
9 stars 3 forks source link

"State" dropdown value on SCs list isn't updated after changing its value. #1449

Open alexanderfc opened 7 years ago

alexanderfc commented 7 years ago

Steps to reproduce:

  1. Sign in at /admin as an admin user
  2. Navigate to 'Customers'.
  3. Open any customer details page.
  4. Navigate to 'Store Credits'.
  5. Issue a SC using any valid data.
  6. On the /customers/{customerId}/storecredit find a just issued SC.
  7. Change its state to 'On Hold'.
  8. Open 'State' dropdown again and look at available options.

Actual result: old value is displayed - the page has to be refreshed to make new value visible. Expected result: dropdown list is updated right after new state value is applied to SC.

Video: https://www.dropbox.com/s/iekg043p5obuprk/highlander_1449.mp4?dl=0

alexanderfc commented 7 years ago

It feels to me like this issue and #1444 might have the same source of the problem.