Skip to content

Commit

Permalink
fix: organisation id parsing (#3954)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg authored May 15, 2024
1 parent 1372917 commit aae116b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/common/stores/account-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ const controller = {
const orgId = parseInt(pathID || cookiedID) || undefined
if (orgId) {
const foundOrganisation = user.organisations.find(
(v) => `${v.id}` === orgId,
(v) => v.id === orgId,
)
if (foundOrganisation) {
store.organisation = foundOrganisation
Expand Down

0 comments on commit aae116b

Please sign in to comment.