Updated host links to use store baseUri
This commit is contained in:
parent
293e0665c6
commit
39d45bc749
7 changed files with 29 additions and 47 deletions
|
|
@ -182,15 +182,23 @@ export default {
|
|||
|
||||
created: function() {
|
||||
// Watch for host 'ready', then update status
|
||||
this.$store.watch(
|
||||
this.unwatchStoreFunction = this.$store.watch(
|
||||
(state, getters) => {
|
||||
return getters.ready;
|
||||
},
|
||||
() => {
|
||||
ready => {
|
||||
// Update plugins
|
||||
this.updatePlugins();
|
||||
if (ready) {
|
||||
console.log("Left panel now ready");
|
||||
} else {
|
||||
console.log("Right panel now disabled");
|
||||
this.currentTab = "status";
|
||||
}
|
||||
}
|
||||
);
|
||||
},
|
||||
|
||||
methods: {
|
||||
updatePlugins: function() {
|
||||
axios
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue