From 2478f53fc25741259aded1a85d8e936961195ee8 Mon Sep 17 00:00:00 2001 From: axolotle Date: Tue, 13 Aug 2024 00:15:59 +0200 Subject: [PATCH] refactor: rework async AppList --- app/src/types/core/api.ts | 2 ++ app/src/views/app/AppList.vue | 49 +++++++++++++---------------------- 2 files changed, 20 insertions(+), 31 deletions(-) diff --git a/app/src/types/core/api.ts b/app/src/types/core/api.ts index 0deea28a..7ba15ea0 100644 --- a/app/src/types/core/api.ts +++ b/app/src/types/core/api.ts @@ -148,3 +148,5 @@ export type AppInfo = { supports_config_panel: boolean supports_purge: boolean } + +export type AppList = { apps: AppInfo[] } diff --git a/app/src/views/app/AppList.vue b/app/src/views/app/AppList.vue index 36792d3f..6812bd58 100644 --- a/app/src/views/app/AppList.vue +++ b/app/src/views/app/AppList.vue @@ -1,35 +1,23 @@