Skip to content

Commit 243f79b

Browse files
authored
Merge pull request #2278 from bcgov/feature/bugFilter
Small fix for errors filter
2 parents 4301b7f + 24811d3 commit 243f79b

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

frontend/src/components/graduation/GradFilters.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ export default {
384384
this.selected[key] = [{title: 'fileType', value: $event}];
385385
this.apply();
386386
} else {
387+
this.errorWarnSelector = null;
387388
delete this.selected[key];
388389
delete this.selected['warnings'];
389390
this.apply();

frontend/src/components/graduation/school/upload/GradErrorsView.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -422,17 +422,11 @@ export default {
422422
this.getErrorFilesetStudentPaginated();
423423
gdcStore().getValidationFieldCodes();
424424
this.schoolID = this.$route.query.schoolID;
425-
appStore().getInstitutesData().then(() => {
426-
this.schoolNameAndMincode = this.getSchoolNameAndID();
427-
});
425+
await appStore().getInstitutesData();
428426
this.getFilesetSummary();
429427
this.getSummaryOfErrors();
430428
},
431429
methods: {
432-
getSchoolNameAndID(){
433-
let curSchool = this.schoolsMap.get(this.schoolID);
434-
return curSchool.mincode + ' - ' + curSchool.schoolName;
435-
},
436430
downloadReportURL() {
437431
let query = {};
438432
if (this.userInfo && this.userInfo.activeInstituteType === 'SCHOOL') {

0 commit comments

Comments
 (0)