diff --git a/frontend/common/stores/account-store.js b/frontend/common/stores/account-store.js index 87d587683307..d943fa63ef87 100644 --- a/frontend/common/stores/account-store.js +++ b/frontend/common/stores/account-store.js @@ -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