serge-web / serge

Serious Gaming, Evolved - web interface
https://sites.google.com/deepbluec.com/serge/
Apache License 2.0
14 stars 4 forks source link

Properties should not saved when it was cancel before #2905

Closed Tristina1788 closed 5 months ago

Tristina1788 commented 5 months ago

🐞 Bug description

Properties is saved when it was cancel before

🔢 Steps to Reproduce

Steps to reproduce the behavior:

  1. Play game with data wargame-l6nngxlk
  2. Select a item
  3. Update a property of the item
  4. Click 'Cancel' on 'Properties' panel
  5. Select another item
  6. Update a property of item
  7. Click 'Save' button
  8. Notice the property on first item is also saved

⚙️ Expected behavior

Properties should not saved when it was cancel before

🖥️ Screencast

https://github.com/serge-web/serge/assets/107697044/5d83dfe2-2c08-4afe-b4dc-5416246ac147

💻 System information

Browser : Chrome Browser Version : Version 120.0.6099.111

📝 Additional context