Commit 28350f3
committed
Admin: don't poll version while the update status is stuck
A stale 'running' status still reads state==='running', so the 4s poll (check=false) kept
overwriting a just-fetched 'update available' result, making it flash and vanish. Gate the
poll on '!stuck' so a check result persists when the panel is in the stuck state.1 parent 5a63e2d commit 28350f3
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
| |||
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
86 | | - | |
| 88 | + | |
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| |||
0 commit comments