|
@@ -28,7 +28,7 @@ export default {
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
majors() {
|
|
majors() {
|
|
- const all = this.getOptionalMajors()
|
|
|
|
|
|
+ const all = this.getOptionalMajors() || []
|
|
if (!all.length) return []
|
|
if (!all.length) return []
|
|
const distinctMajors = {}
|
|
const distinctMajors = {}
|
|
all.forEach(item => {
|
|
all.forEach(item => {
|