Skip to content

Commit b41e5a8

Browse files
committed
Null field toggle works
1 parent 917184e commit b41e5a8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

my-app/src/model.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ export const model = {
132132
},
133133

134134
setApplyRemoveNullCourses() {
135-
this.applyRemoveNullCourses = !this.applyRemoveNullCourses;
135+
this.filterOptions.applyRemoveNullCourses = !this.filterOptions.applyRemoveNullCourses;
136+
this.setFiltersChange();
136137
},
137138

138139
updateLevelFilter(level) {
@@ -153,7 +154,6 @@ export const model = {
153154
},
154155

155156
updateDepartmentFilter(department) {
156-
console.log(department);
157157
this.filterOptions.department = department;
158158
},
159159

0 commit comments

Comments
 (0)