Skip to content

Commit

Permalink
Fixes for drop-down school filter
Browse files Browse the repository at this point in the history
  • Loading branch information
arcshiftsolutions committed Aug 23, 2024
1 parent 6208549 commit ed9911d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/common/Filters.vue
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ export default {
};
},
computed: {
...mapState(appStore, ['districtMap', 'schoolMap', 'notClosedSchools', 'notClosedSchoolsMap', 'config']),
...mapState(appStore, ['districtMap', 'schoolMap', 'config']),
...mapState(edxStore, ['schoolRoles','schoolRolesCopy']),
...mapState(authStore, ['userInfo']),
},
Expand Down Expand Up @@ -432,7 +432,7 @@ export default {
ApiService.apiAxios.get(`${Routes.sdc.BASE_URL}/collection/${this.$route.params.collectionID}/sdcSchoolCollections`)
.then((res) => {
res.data.forEach(schoolCollection => {
const school = this.notClosedSchoolsMap.get(schoolCollection.schoolID);
const school = this.schoolMap.get(schoolCollection.schoolID);
if (school) {
let schoolItem = {
schoolCodeName: school.schoolName + ' - ' + school.mincode,
Expand Down

0 comments on commit ed9911d

Please sign in to comment.