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