From 7efa79637cb89dfbe0bfe33701c6e3b786e832d3 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Sun, 6 Apr 2025 12:29:32 +0200 Subject: [PATCH] Add TODO about the app state sorting --- dashboard/src/views/AppsView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/src/views/AppsView.vue b/dashboard/src/views/AppsView.vue index 60a54074d..6ed3308d2 100644 --- a/dashboard/src/views/AppsView.vue +++ b/dashboard/src/views/AppsView.vue @@ -62,9 +62,9 @@ const listColumns = { label: 'Status', hideMobile: true, sort: (a, b) => { - console.log(a, b) + // TODO we need pankow fix to pass full object a,b instead of just the property if (!a || !b) return -1; - return a.installationState < b.installationState ? -1 : (a.installationState > b.installationState ? 1 : 0) + return a.installationState < b.installationState ? -1 : (a.installationState > b.installationState ? 1 : 0); }, }, appTitle: {