workfloworchestrator / orchestrator-ui-library

Component library for the orchestrator-ui (v2) which is published in npm
8 stars 4 forks source link

Fix subscription note editor showing old value when pressing Cancel in NMS #1551

Open Georgi2704 opened 2 weeks ago

Georgi2704 commented 2 weeks ago

How to reproduce: Saving the new note of a subscription. Open again the note editor and cancel the editing. The old value (before saving) of the note will appear again.

In subscription detail general tab the problem doesn't seem to happen because the subscription is invalidated an and the new data is fetched after running the modify note workflow. So when clicking cancel the initalValue of the editor already has the new value loaded.

Screenshot 2024-11-11 at 15 47 37 Screenshot 2024-11-11 at 15 47 49

Solution:

Georgi2704 commented 2 weeks ago

Maybe a websocket cache invalidation when the modify_note_workflow is finished ? @DutchBen