Commit 2fe7cf0
committed
refactor(content_management): add case for DeletionStatus.requested in switch statement
- Add a case for DeletionStatus.requested in the switch statement
- Include a comment explaining that this case is now handled by the optimistic UI update in specific delete handlers
- Mention that the itemPendingDeletion is set in those handlers, which the UI uses to build the snackbar message1 parent 2befa95 commit 2fe7cf0
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
800 | 800 | | |
801 | 801 | | |
802 | 802 | | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
803 | 809 | | |
804 | 810 | | |
805 | 811 | | |
| |||
0 commit comments