Skip to content

Commit

Permalink
fix(ui): filter college with empty name (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
hidacow authored Nov 24, 2023
1 parent 45a5584 commit c069f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixins/common/getCourseClassList.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { getCollegesList, getMajorsList, getLessonPropertiesList } from "shu-cou

export const GetCourseClassListMixin = {
methods: {
getCollegesList: (p) => getCollegesList(p),
getCollegesList: (p) => getCollegesList(p).filter((v) => v.name !== ""),
getMajorsList: (v, p) => getMajorsList(v, p),
getLessonPropertiesList: () => getLessonPropertiesList(),
}
Expand Down

0 comments on commit c069f7c

Please sign in to comment.