Commit 9622f39
fix: show a spinner instead of a dead button while confirming subjects
ScoutButton has a `loading` prop that renders a centered spinner and hides the
label, and it already implies disabled (the render sets the underlying disabled
attribute and suppresses the click), so it replaces the extra disabled
condition. `disabled` stays for the empty-selection case, where there is
nothing to communicate beyond "not available".
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 51d968c commit 9622f39
1 file changed
Lines changed: 6 additions & 3 deletions
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
125 | 127 | | |
126 | 128 | | |
127 | 129 | | |
| |||
225 | 227 | | |
226 | 228 | | |
227 | 229 | | |
228 | | - | |
| 230 | + | |
| 231 | + | |
229 | 232 | | |
230 | 233 | | |
231 | 234 | | |
| |||
0 commit comments