From b9154908b44268d67031ba49bbd45b06745437ac Mon Sep 17 00:00:00 2001 From: axolotle Date: Tue, 13 Aug 2024 00:28:35 +0200 Subject: [PATCH] refactor: rework async ServiceList --- app/src/types/core/api.ts | 1 + app/src/views/service/ServiceList.vue | 51 ++++++++++++++------------- 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/app/src/types/core/api.ts b/app/src/types/core/api.ts index 4e6e0365..adf5a229 100644 --- a/app/src/types/core/api.ts +++ b/app/src/types/core/api.ts @@ -208,6 +208,7 @@ export type ServiceInfo = { configuration: 'valid' | 'broken' | 'unknown' } export type ServiceLogs = Obj +export type ServiceList = Obj // DIAGNOSIS diff --git a/app/src/views/service/ServiceList.vue b/app/src/views/service/ServiceList.vue index 3f1c2f32..3a603b90 100644 --- a/app/src/views/service/ServiceList.vue +++ b/app/src/views/service/ServiceList.vue @@ -1,31 +1,34 @@