Removed unused prints, updated dependency versions.
This commit is contained in:
parent
bee72b152c
commit
fe92ec7749
18
frontend/package-lock.json
generated
18
frontend/package-lock.json
generated
@ -3099,9 +3099,9 @@
|
|||||||
"integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I="
|
"integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I="
|
||||||
},
|
},
|
||||||
"chart.js": {
|
"chart.js": {
|
||||||
"version": "2.7.2",
|
"version": "2.7.3",
|
||||||
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-2.7.2.tgz",
|
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-2.7.3.tgz",
|
||||||
"integrity": "sha512-90wl3V9xRZ8tnMvMlpcW+0Yg13BelsGS9P9t0ClaDxv/hdypHDr/YAGf+728m11P5ljwyB0ZHfPKCapZFqSqYA==",
|
"integrity": "sha512-3+7k/DbR92m6BsMUYP6M0dMsMVZpMnwkUyNSAbqolHKsbIzH2Q4LWVEHHYq7v0fmEV8whXE0DrjANulw9j2K5g==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"chartjs-color": "^2.1.0",
|
"chartjs-color": "^2.1.0",
|
||||||
"moment": "^2.10.2"
|
"moment": "^2.10.2"
|
||||||
@ -14434,14 +14434,14 @@
|
|||||||
"integrity": "sha512-mFbcWoDIJi0w0Za4emyLiW72Jae0yjANHbCVquMKijcavBGypqlF7zHRgMa5k4sesdv7hv2rB4JPdZfR+TPfhQ=="
|
"integrity": "sha512-mFbcWoDIJi0w0Za4emyLiW72Jae0yjANHbCVquMKijcavBGypqlF7zHRgMa5k4sesdv7hv2rB4JPdZfR+TPfhQ=="
|
||||||
},
|
},
|
||||||
"vue-awesome": {
|
"vue-awesome": {
|
||||||
"version": "3.1.2",
|
"version": "3.1.3",
|
||||||
"resolved": "https://registry.npmjs.org/vue-awesome/-/vue-awesome-3.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/vue-awesome/-/vue-awesome-3.1.3.tgz",
|
||||||
"integrity": "sha512-5Ax5GvbCQDz0zx4PvqJ8b8MEMRQ1IGYtOVQ6u2NBGcWjFnxq0tprCk/YtGAGlYGKwx+OQSoYKb0qZHc4qVfAIg=="
|
"integrity": "sha512-JJXcU1l4Lo/kahhEvUSpKEgbL47pAUfXeAdj/ayVL6HClGbCCOhCHsup1PprTFlCjgZ8N42jDnYBRsBP5QxGGA=="
|
||||||
},
|
},
|
||||||
"vue-axios": {
|
"vue-axios": {
|
||||||
"version": "2.1.3",
|
"version": "2.1.4",
|
||||||
"resolved": "https://registry.npmjs.org/vue-axios/-/vue-axios-2.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/vue-axios/-/vue-axios-2.1.4.tgz",
|
||||||
"integrity": "sha512-F4njDY6yqETynPh4iA/x3ohHuL6eNp4Jnn30VU//L7mrq3x7PwaHAoKrT++XjbKLjjNOZevTAGNyYXrdYEC90A=="
|
"integrity": "sha512-DS8Q+WFT3i7nS0aZ/NMmTPf2yhbtlXhj4QEZmY69au/BshsGzGjC6dXaniZaPQlErP3J3Sv1HtQ4RVrXaUTkxA=="
|
||||||
},
|
},
|
||||||
"vue-bootstrap-datetimepicker": {
|
"vue-bootstrap-datetimepicker": {
|
||||||
"version": "5.0.1",
|
"version": "5.0.1",
|
||||||
|
@ -11,13 +11,13 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^0.18.0",
|
"axios": "^0.18.0",
|
||||||
"bootstrap-vue": "^2.0.0-rc.11",
|
"bootstrap-vue": "^2.0.0-rc.11",
|
||||||
"chart.js": "^2.7.2",
|
"chart.js": "^2.7.3",
|
||||||
"font-awesome": "^4.7.0",
|
"font-awesome": "^4.7.0",
|
||||||
"jquery": "^3.3.1",
|
"jquery": "^3.3.1",
|
||||||
"moment": "^2.22.2",
|
"moment": "^2.22.2",
|
||||||
"vue": "^2.5.17",
|
"vue": "^2.5.17",
|
||||||
"vue-awesome": "^3.1.2",
|
"vue-awesome": "^3.1.3",
|
||||||
"vue-axios": "^2.1.3",
|
"vue-axios": "^2.1.4",
|
||||||
"vue-bootstrap-datetimepicker": "^5.0.1",
|
"vue-bootstrap-datetimepicker": "^5.0.1",
|
||||||
"vue-chartjs": "^3.4.0",
|
"vue-chartjs": "^3.4.0",
|
||||||
"vue-router": "^3.0.1",
|
"vue-router": "^3.0.1",
|
||||||
|
@ -155,12 +155,10 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onSubmit: function(e) {
|
onSubmit: function(e) {
|
||||||
console.log("submit");
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
var form = document.getElementById("submission-form");
|
var form = document.getElementById("submission-form");
|
||||||
if (form.checkValidity() && this.tutors.length > 0) {
|
if (form.checkValidity() && this.tutors.length > 0) {
|
||||||
console.log("valid");
|
|
||||||
this.$router.push("/observation");
|
this.$router.push("/observation");
|
||||||
}
|
}
|
||||||
form.classList.add("was-validated");
|
form.classList.add("was-validated");
|
||||||
|
Loading…
Reference in New Issue
Block a user