Commit 67f9de3
committed
fix(scheduled-tasks): remount task details on occurrence switch
The read-only details editor seeds its prompt + mention contexts on mount
only. Selecting a different finished task while the modal stays open swapped
the Status/run-time fields but left the editor on the first task's prompt.
Key the content by the occurrence id so each task gets a fresh mount.1 parent f56d9da commit 67f9de3
1 file changed
Lines changed: 4 additions & 1 deletion
File tree
- apps/sim/app/workspace/[workspaceId]/scheduled-tasks/components/task-details-modal
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
0 commit comments