-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Report — Work Order List: State not updated after delete
Found during: Manual testing of Work Orders list page
Steps to Reproduce
- Navigate to Work Orders list (
/work-orders) - Delete a work order
- Observe: the deleted work order still appears in the list
Current Behavior
The work order is successfully deleted on the backend (confirmed), but the frontend list does not update. A full page reload is required to see the correct list.
Expected Behavior
After a successful delete, the work order list should automatically refresh — either by removing the item from the local store state or by re-fetching the list. This should be immediate with no manual page reload required.
Likely Cause
The delete handler in the work order store is probably not updating the local items state or re-triggering a list fetch after the delete API call succeeds. The income list handles this correctly and can be used as a reference.
Labels: bug, frontend, work-orders
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working