Commit 6621c99d authored by Joel Collins's avatar Joel Collins
Browse files

Fixed init modals never being started

parent f44c4f1f
Loading
Loading
Loading
Loading
+5 −16
Original line number Diff line number Diff line
@@ -223,23 +223,12 @@ export default {

  created: function() {
    if (this.$store.getters.ready) {
      this.updatePlugins();
    }
    // Watch for host 'ready', then update status
    this.unwatchStoreFunction = this.$store.watch(
      (state, getters) => {
        return getters.ready;
      },
      ready => {
        if (ready) {
      // Update plugins
      this.updatePlugins().then(() => {
        // Start initialisation modals
        this.startModals();
      });
    }
      }
    );
  },

  mounted() {