From c9eed6f3fc580923d61acad8c069e9dbf73df967 Mon Sep 17 00:00:00 2001 From: tpikna Date: Sun, 7 Jun 2026 07:56:38 +0200 Subject: [PATCH] oprava chyby --- main_web/src/app/store/service-status.state.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main_web/src/app/store/service-status.state.ts b/main_web/src/app/store/service-status.state.ts index 01c2abe..67d07c0 100644 --- a/main_web/src/app/store/service-status.state.ts +++ b/main_web/src/app/store/service-status.state.ts @@ -75,8 +75,8 @@ export class ServiceStatusState { const initialServices = config.map((service: Service) => { const existing = currentServices.find(s => s.name === service.name); return existing - ? { ...existing, status: 'loading' } - : { ...service, status: 'loading' }; + ? { ...existing, status: 'loading' as Status } + : { ...service, status: 'loading' as Status }; }); ctx.patchState({ services: initialServices, loading: true });