fix: align deployment links across repository views
ForgeFlow quality gate / quality (push) Canceled after 0s

This commit is contained in:
NuklearRabbit
2026-08-01 17:05:03 +02:00
parent acad1f8932
commit 58d361bbab
6 changed files with 152 additions and 14 deletions
+12
View File
@@ -9,6 +9,18 @@ async function handleShellActions(event, target, action, repository) {
setLoading(false);
}
} else if (action === "select-repo") selectRepository(target.dataset.id);
else if (action === "open-deployment-link") {
if (!repository) return true;
selectRepository(repository.id, false);
ui.selectedProfileId = target.dataset.profileId || selectedProfile(repository)?.id || null;
ui.repositoryTab = "deployments";
ui.currentView = "repository";
render();
} else if (action === "select-deployment-profile") {
ui.selectedProfileId = target.dataset.profileId || null;
ui.repositoryTab = "deployments";
render();
}
else if (action === "refresh") {
await refreshRepositories(true);
await refreshActiveOperations(false);