Enter main app when modals have been closed
This commit is contained in:
parent
1bfde1fb14
commit
83aefe87c3
2 changed files with 20 additions and 14 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue