Commit 0ec51ec
fix(autorag): separate error handling and prevent dismissal during save in LlamaStackConnectionModal
Split the single try/catch into two blocks so a createSecret failure is reported
independently from an onSubmit failure, preventing a downstream refresh error
from masking a successful create. Also prevent modal dismissal while saving by
disabling the X button, Escape key, and Cancel button during in-flight requests.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 43d001a commit 0ec51ec
1 file changed
Lines changed: 9 additions & 1 deletion
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
71 | 78 | | |
72 | 79 | | |
73 | 80 | | |
| |||
78 | 85 | | |
79 | 86 | | |
80 | 87 | | |
81 | | - | |
| 88 | + | |
82 | 89 | | |
83 | 90 | | |
84 | 91 | | |
| |||
139 | 146 | | |
140 | 147 | | |
141 | 148 | | |
| 149 | + | |
142 | 150 | | |
143 | 151 | | |
144 | 152 | | |
| |||
0 commit comments