slug first logic

This commit is contained in:
2026-03-01 13:17:05 +03:00
parent 0a09fb5e6d
commit 73cd29a237
20 changed files with 1739 additions and 379 deletions

View File

@@ -35,7 +35,7 @@
// [SECTION: UI STATE]
let showGitManager = $state(false);
let gitDashboardId: number | null = $state(null);
let gitDashboardId: string | null = $state(null);
let gitDashboardTitle = $state("");
let repositoryStatusByDashboardId = $state<Record<number, string>>({});
let repositoryStatusRequestId = $state(0);
@@ -373,7 +373,7 @@
(dashboard) => dashboard.id === selectedDashboardId,
);
gitDashboardId = selectedDashboardId;
gitDashboardId = String(selectedDashboard?.slug || selectedDashboardId);
gitDashboardTitle = selectedDashboard?.title || "";
showGitManager = true;
}