()
| 282 | } |
| 283 | |
| 284 | async function fetchStatus() { |
| 285 | try { |
| 286 | status.value = await transport.getStatus() |
| 287 | } catch (err) { |
| 288 | console.error('[ApiServerStore] Failed to fetch status:', err) |
| 289 | } |
| 290 | } |
| 291 | |
| 292 | async function refresh() { |
| 293 | await Promise.all([fetchConfig(), fetchStatus(), fetchDataSources()]) |