Fixed lite-mode regression

This commit is contained in:
Joel Collins 2020-03-16 17:21:06 +00:00
parent 2b8df04e4d
commit 86e8c5d749

View file

@ -2,7 +2,8 @@
<!-- Grid managing tab content -->
<div uk-grid class="uk-height-1-1 uk-margin-remove uk-padding-remove">
<div class="view-component uk-width-expand">
<connectDisplay />
<connectDisplayLite v-if="liteMode" />
<connectDisplay v-else />
</div>
</div>
</template>
@ -15,6 +16,12 @@ export default {
components: {
connectDisplay
},
data: function() {
return {
liteMode: process.env.VUE_APP_LITEMODE == "true" ? true : false
};
}
};
</script>