oprava chyby
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user