diff --git a/src/app.ts b/src/app.ts index 0d69b29..91e2f03 100644 --- a/src/app.ts +++ b/src/app.ts @@ -363,11 +363,8 @@ export function createApp() { return apps.map((app) => ({ id: app.id, name: app.name, - status: app.maintenance ? 'warning' : app.bugs.length > 0 ? 'error' : 'active', + status: app.active ? 'active' : 'inactive', errors: app.bugs.length, - version: app.version ?? '-', - minVersion: app.minVersion, - maintenance: app.maintenance, active: app.active, urlApi: app.urlApi, hasClientApiKey: !!app.clientApiKey, @@ -400,11 +397,8 @@ export function createApp() { return { id: app.id, name: app.name, - status: app.maintenance ? 'warning' : app.bugs.length > 0 ? 'error' : 'active', + status: app.active ? 'active' : 'inactive', errors: app.bugs.length, - version: app.version ?? '-', - minVersion: app.minVersion, - maintenance: app.maintenance, urlApi: app.urlApi, totalBugs: app._count.bugs, }