Skip to content

Commit

Permalink
Fixing typo in useUser composable getter (again) (learningequality#12235
Browse files Browse the repository at this point in the history
)
  • Loading branch information
nathanaelg16 authored and jasonmokk committed Jun 17, 2024
1 parent 1ebd3dc commit 3b9ce1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kolibri/core/assets/src/composables/__mocks__/useUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const MOCK_DEFAULTS = {
isFacilityCoach: false,
isLearner: true,
isFacilityAdmin: false,
userIsMultipleFacilityAdmin: false,
userIsMultiFacilityAdmin: false,
getUserPermissions: {},
userFacilityId: undefined,
getUserKind: UserKinds.ANONYMOUS,
Expand Down
4 changes: 2 additions & 2 deletions kolibri/core/assets/src/composables/useUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function useUser() {
const isFacilityCoach = computed(() => store.getters.isFacilityCoach);
const isLearner = computed(() => store.getters.isLearner);
const isFacilityAdmin = computed(() => store.getters.isFacilityAdmin);
const userIsMultipleFacilityAdmin = computed(() => store.getters.userIsMultipleFacilityAdmin);
const userIsMultiFacilityAdmin = computed(() => store.getters.userIsMultiFacilityAdmin);
const getUserPermissions = computed(() => store.getters.getUserPermissions);
const userFacilityId = computed(() => store.getters.userFacilityId);
const getUserKind = computed(() => store.getters.getUserKind);
Expand Down Expand Up @@ -46,7 +46,7 @@ export default function useUser() {
isFacilityCoach,
isLearner,
isFacilityAdmin,
userIsMultipleFacilityAdmin,
userIsMultiFacilityAdmin,
getUserPermissions,
userFacilityId,
getUserKind,
Expand Down

0 comments on commit 3b9ce1a

Please sign in to comment.