oprava chyby

This commit is contained in:
tpikna
2026-06-07 07:56:38 +02:00
parent 7c7d567b58
commit c9eed6f3fc
@@ -75,8 +75,8 @@ export class ServiceStatusState {
const initialServices = config.map((service: Service) => { const initialServices = config.map((service: Service) => {
const existing = currentServices.find(s => s.name === service.name); const existing = currentServices.find(s => s.name === service.name);
return existing return existing
? { ...existing, status: 'loading' } ? { ...existing, status: 'loading' as Status }
: { ...service, status: 'loading' }; : { ...service, status: 'loading' as Status };
}); });
ctx.patchState({ services: initialServices, loading: true }); ctx.patchState({ services: initialServices, loading: true });