Moved control tab content into components

This commit is contained in:
Joel Collins 2019-06-10 11:54:35 +01:00
parent 0014d61f89
commit cd82f00af3
3 changed files with 55 additions and 42 deletions

View file

@ -0,0 +1,31 @@
<template>
<div
v-if="!(this.requireConnection && !this.$store.getters.ready)"
v-bind:hidden="currentTab!=id"
class="uk-width-expand"
>
<slot></slot>
</div>
</template>
<script>
export default {
name: 'tabContent',
props: {
id: String,
currentTab: String,
requireConnection: Boolean,
},
methods: {},
computed: {}
}
</script>
<style lang="less" scoped>
</style>