diff --git a/src/components/Marking.vue b/src/components/Marking.vue
index 82c252e..995601e 100644
--- a/src/components/Marking.vue
+++ b/src/components/Marking.vue
@@ -73,44 +73,44 @@
Project Notes
-
-
-
-
- Overall score:
-
-
-
-
-
-
- {{ " / " + 100}}
-
-
- Please Select Category
-
+
+
+
+
+ Overall score:
+
+
+
+
+
+
+ {{ " / " + 100 }}
+
+
+ Please Select Category
+
100){ this.total = 100; }
- else if (this.total < 0
- || this.total === undefined
- || this.total === "")
- {
+ if (this.total > 100) {
+ this.total = 100;
+ } else if (
+ this.total < 0 ||
+ this.total === undefined ||
+ this.total === ""
+ ) {
this.total = 0;
}
},
editScores() {
- let scores = this.total
- this.marks = new Array(this.marks.length).fill(0)
+ let scores = this.total;
+ this.marks = new Array(this.marks.length).fill(0);
this.marking_criteria.forEach((item, i) => {
while (this.marks[i] < item.max && scores > 0) {
this.marks[i]++;
scores--;
}
- });
- },
+ });
+ }
},
async mounted() {
await this.getTableID();
@@ -474,12 +476,12 @@ export default Vue.extend({
this.projects =
firebase.auth().currentUser.email != "judge@deltahacks.com"
? "projects"
- : "projects";
+ : "projects stage";
},
watch: {
marks(val) {
this.total = val.reduce((x, y) => x + y);
- },
+ }
},
computed: {
getDemoVideoEmbedUrl() {
diff --git a/src/components/Ranking.vue b/src/components/Ranking.vue
index 5ab4e0f..c6a22e9 100644
--- a/src/components/Ranking.vue
+++ b/src/components/Ranking.vue
@@ -194,7 +194,7 @@ export default Vue.extend({
this.projects =
firebase.auth().currentUser.email != "judge@deltahacks.com"
? "projects"
- : "projects";
+ : "projects stage";
},
watch: {
selectedOptions: function() {
diff --git a/src/components/Register.vue b/src/components/Register.vue
index f519a23..2c23c33 100644
--- a/src/components/Register.vue
+++ b/src/components/Register.vue
@@ -325,7 +325,7 @@ export default Vue.extend({
}
.cat-dropdown /deep/ .dropdown-menu {
- max-height: 11vh;
+ max-height: 18vh;
overflow-y: auto;
}
diff --git a/src/components/Tables.vue b/src/components/Tables.vue
index 577fc8a..0dbe00c 100644
--- a/src/components/Tables.vue
+++ b/src/components/Tables.vue
@@ -237,7 +237,7 @@ export default Vue.extend({
this.projects =
auth().currentUser.email != "judge@deltahacks.com"
? "projects"
- : "projects";
+ : "projects stage";
console.log(auth().currentUser.email, this.projects, "A");
this.catMap = await getCategoriesMap();
}