You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: my-app/src/model.js
+37-18Lines changed: 37 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -11,23 +11,27 @@ export const model = {
11
11
courses: [],
12
12
favourites: [],
13
13
isReady: false,
14
-
filtersChange: false,//
14
+
filtersChange: false,
15
15
filtersCalculated: false,
16
16
filteredCourses: [],
17
17
filterOptions: {
18
18
applyTranscriptFilter: true,
19
19
eligibility: "weak",//the possible values for the string are: "weak"/"moderate"/"strong"
20
20
applyLevelFilter: true,
21
-
level: [],//the possible values for the array are: "PREPARATORY", "BASIC", "ADVANCED", "RESEARCH"
21
+
level: ["PREPARATORY","BASIC","ADVANCED","RESEARCH"],//the possible values for the array are: "PREPARATORY", "BASIC", "ADVANCED", "RESEARCH"
22
22
applyLanguageFilter: true,
23
23
language: "none",//the possible values for the string are: "none"/"english"/"swedish"/"both"
24
24
applyLocationFilter:true,
25
25
location: [],//the possible values for the array are: 'KTH Campus', 'KTH Kista', 'AlbaNova', 'KTH Flemingsberg', 'KTH Solna', 'KTH Södertälje', 'Handelshögskolan', 'KI Solna', 'Stockholms universitet', 'KONSTFACK'
26
26
applyCreditsFilter:true,
27
27
creditMin: 0,
28
28
creditMax: 45,
29
-
applyDepartmentFilter:false,
30
-
department: []
29
+
applyDepartmentFilter: true,
30
+
department: ["EECS/Computational Science and Technology","EECS/Theoretical Computer Science","EECS/Electric Power and Energy Systems","EECS/Network and Systems Engineering",
31
+
"ITM/Learning in Engineering Sciences","ITM/Industrial Economics and Management","ITM/Energy Systems","ITM/Integrated Product Development and Design","ITM/SKD GRU",
32
+
"SCI/Mathematics","SCI/Applied Physics","SCI/Mechanics","SCI/Aeronautical and Vehicle Engineering",
33
+
"ABE/Sustainability and Environmental Engineering","ABE/Concrete Structures","ABE/Structural Design & Bridges","ABE/History of Science, Technology and Environment",],
0 commit comments