Quellcode durchsuchen

elective student - primary select info display

hare8999@163.com vor 2 Jahren
Ursprung
Commit
8c24bcf392

+ 2 - 1
src/views/elective/select/components/elective-preference-info.vue

@@ -23,7 +23,8 @@ export default {
   props: ['generation'],
   computed: {
     visible() {
-      return this.generation.active > config.electiveGenerationOptions.primary.value
+      return this.generation.active > config.electiveGenerationOptions.primary.value ||
+        this.generation.activeModel.preferenceCount == 1
     },
     isDM() {
       return this.generation.activeOpt.decisionMaking