Skip to content

Commit 253d879

Browse files
committed
populate groups in edit project based on project's year
1 parent 74b07bb commit 253d879

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/EditProject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ export default compose(
448448
storeAs: 'project',
449449
},
450450
{
451-
path: `/years/${currentYear}/groups`,
451+
path: `/years/${props.params.year || currentYear}/groups`,
452452
queryParams: ['orderByValue=name'],
453453
populates: [],
454454
storeAs: 'groupsList',

0 commit comments

Comments
 (0)