Update plugins on created, if host is ready

This commit is contained in:
Joel Collins 2020-05-18 10:46:17 +01:00
parent 01fcb4f7e5
commit 509a5215f3

View file

@ -210,6 +210,9 @@ export default {
}, },
created: function() { created: function() {
if (this.$store.getters.ready) {
this.updatePlugins();
}
// Watch for host 'ready', then update status // Watch for host 'ready', then update status
this.unwatchStoreFunction = this.$store.watch( this.unwatchStoreFunction = this.$store.watch(
(state, getters) => { (state, getters) => {