mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
ensure project key is updated in url when projects are fetched (most likely as a result of organisation selection)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user