Commit c5b685d
fix: rollback optimistic update on failure and document remove option
- Capture previous defaultAgent before optimistic update and restore it
in the catch block so the UI stays consistent on API failure
- Add "Remove the default agent" step to Slack configuration docs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a513185 commit c5b685d
File tree
2 files changed
+7
-0
lines changed- agents-docs/content/talk-to-your-agents/slack
- agents-manage-ui/src/features/work-apps/slack/components/agent-configuration-card
2 files changed
+7
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
| 158 | + | |
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
| |||
0 commit comments