()
| 239 | } |
| 240 | |
| 241 | async function loadRepairCatalog() { |
| 242 | try { |
| 243 | const data = await api.get('/selfcheck/repairs', { requestKey: 'selfcheck-repairs', cancelPrevious: true }); |
| 244 | selfcheckState.repairCatalog = data?.repairs || {}; |
| 245 | } catch (error) { |
| 246 | selfcheckState.repairCatalog = {}; |
| 247 | } |
| 248 | } |
| 249 | |
| 250 | async function loadScheduleAndRuntime() { |
| 251 | const data = await api.get('/selfcheck/schedule', { requestKey: 'selfcheck-schedule', cancelPrevious: true, silentNetworkError: true, priority: 'low' }); |
no test coverage detected