Skip to content

Commit

Permalink
[B] Use route param for active collection id
Browse files Browse the repository at this point in the history
  • Loading branch information
1aurend committed Dec 17, 2024
1 parent 083a98d commit 568803e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/src/backend/components/project-collection/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export default function ProjectCollectionList(props) {
const { t } = useTranslation();

const {
projectCollection,
projectCollections,
onCollectionSelect,
onToggleVisibility,
Expand All @@ -24,7 +23,7 @@ export default function ProjectCollectionList(props) {

const newPath =
id && id !== "new"
? lh.link("backendProjectCollectionNew", projectCollection.id)
? lh.link("backendProjectCollectionNew", id)
: lh.link("backendProjectCollectionsNew");

return (
Expand Down

0 comments on commit 568803e

Please sign in to comment.