diff options
| author | Henry Jameson <me@hjkos.com> | 2020-05-03 17:36:12 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-05-03 17:36:12 +0300 |
| commit | 2e35289c3376881ca17b9330113c816a3327f245 (patch) | |
| tree | 02b6a16a7a496dfd9d023b6a4ac10f0dceecd9b7 /src/components/tab_switcher/tab_switcher.js | |
| parent | 9b349b40196778abe1a2cdb1d241d4c9572d305c (diff) | |
initial work on settings modal
Diffstat (limited to 'src/components/tab_switcher/tab_switcher.js')
| -rw-r--r-- | src/components/tab_switcher/tab_switcher.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/tab_switcher/tab_switcher.js b/src/components/tab_switcher/tab_switcher.js index 008e1e95..97791de3 100644 --- a/src/components/tab_switcher/tab_switcher.js +++ b/src/components/tab_switcher/tab_switcher.js @@ -24,6 +24,11 @@ export default Vue.component('tab-switcher', { required: false, type: Boolean, default: false + }, + sideTabBar: { + required: false, + type: Boolean, + default: false } }, data () { @@ -105,7 +110,7 @@ export default Vue.component('tab-switcher', { }) return ( - <div class="tab-switcher"> + <div class={'tab-switcher ' + (this.sideTabBar ? 'side-tabs' : 'top-tabs')}> <div class="tabs"> {tabs} </div> |
