Skip to content

Commit

Permalink
#2074 - Fix the store reference (#2075)
Browse files Browse the repository at this point in the history
Fix the store reference
  • Loading branch information
dheepak-aot authored Jul 4, 2023
1 parent 7174a2c commit 7f6db57
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ export function useInstitutionAuth(rootStore?: Store<any>) {
return userAuthorization?.userType;
});

const isBCPublic = computed(() => store.state.institutionState?.isBCPublic);
const isBCPublic = computed(
() => store.state.institution.institutionState?.isBCPublic,
);

return {
isAdmin,
Expand Down

0 comments on commit 7f6db57

Please sign in to comment.