Removed 'connected' state in favour of 'ready' state

This commit is contained in:
Joel Collins 2019-02-12 11:10:30 +00:00
parent 9acf4d874d
commit 9610b91cb8
6 changed files with 46 additions and 38 deletions

View file

@ -12,7 +12,7 @@
</ul>
<ul class="uk-switcher uk-padding-small uk-flex uk-flex-1 panel-content">
<li class="uk-width-expand"><paneConnect/></li>
<li class="uk-width-expand"><paneNavigate/></li>
<li v-if="$store.getters.ready" class="uk-width-expand"><paneNavigate/></li>
</ul>
</div>
</template>
@ -34,7 +34,7 @@ export default {
computed: {
disableIfDisconnected: function () {
return {
'uk-disabled': !this.$store.state.connected
'uk-disabled': !this.$store.getters.ready
}
}
}