aboutsummaryrefslogtreecommitdiff
path: root/src/components/tab_switcher/tab_switcher.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2020-05-03 17:36:12 +0300
committerHenry Jameson <me@hjkos.com>2020-05-03 17:36:12 +0300
commit2e35289c3376881ca17b9330113c816a3327f245 (patch)
tree02b6a16a7a496dfd9d023b6a4ac10f0dceecd9b7 /src/components/tab_switcher/tab_switcher.js
parent9b349b40196778abe1a2cdb1d241d4c9572d305c (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.js7
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>