Commit 7729719
committed
fix(ui): only show indexing modal when indexing starts successfully
Move modal logic into else branch so it only triggers when indexResponse.ok.
Failed indexing still shows warning toast but no progress modal.1 parent 5fa787c commit 7729719
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
| 160 | + | |
| 161 | + | |
164 | 162 | | |
165 | 163 | | |
166 | 164 | | |
| |||
0 commit comments