Enter main app when modals have been closed

This commit is contained in:
Joel Collins 2020-05-27 14:18:42 +01:00
parent 1bfde1fb14
commit 83aefe87c3
2 changed files with 20 additions and 14 deletions

View file

@ -231,6 +231,10 @@ export default {
}
},
mounted() {
this.$refs["calibrationModalEl"].addEventListener("hidden", this.onHide);
},
methods: {
show: function() {
// Get current settings
@ -258,6 +262,11 @@ export default {
this.ready = false;
},
onHide: function() {
console.log("UIKit modal hidden");
this.$emit("onClose");
},
getSettings: function() {
return axios
.get(this.settingsUri)