ensure project key is updated in url when projects are fetched (most likely as a result of organisation selection)

This commit is contained in:
Oliver Bryan
2026-01-11 17:24:40 +00:00
parent d44f378403
commit 1999c116fe

View File

@@ -215,6 +215,12 @@ export default function App() {
}
setSelectedProject(selected);
if (selected) {
updateUrlParams({
projectKey: selected.Project.key.toLowerCase(),
issueNumber: null,
});
}
},
onError: (error) => {
console.error("error fetching projects:", error);