amalia/05-mei-26 #18

Merged
amaliadwiy merged 3 commits from amalia/05-mei-26 into main 2026-05-05 17:28:46 +08:00
15 changed files with 1572 additions and 1373 deletions
Showing only changes of commit a73dcb1e89 - Show all commits

View File

@@ -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,
}