aboutsummaryrefslogtreecommitdiff
path: root/src/components/tab_switcher/tab_switcher.js
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2019-02-08 15:48:07 +0000
committerShpuld Shpludson <shp@cock.li>2019-02-08 15:48:07 +0000
commitda0a5535eb09f6637df921a8a5f951c295bedeac (patch)
treecc4f85f06835451fc8e6ece136c66af11bb26ba8 /src/components/tab_switcher/tab_switcher.js
parent62b3b9b8d4a71912d9e55e812f537f057698e323 (diff)
parent910b63624b75bdbdc7e4bf80cfe42c7a8092260e (diff)
Merge branch 'issue-291-disable-empty-tabs' into 'develop'
#291 - disable empty tabs in user profile panel See merge request pleroma/pleroma-fe!548
Diffstat (limited to 'src/components/tab_switcher/tab_switcher.js')
-rw-r--r--src/components/tab_switcher/tab_switcher.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/tab_switcher/tab_switcher.js b/src/components/tab_switcher/tab_switcher.js
index f9c3f927..423df258 100644
--- a/src/components/tab_switcher/tab_switcher.js
+++ b/src/components/tab_switcher/tab_switcher.js
@@ -37,7 +37,7 @@ export default Vue.component('tab-switcher', {
return (
<div class={ classesWrapper.join(' ')}>
- <button onClick={this.activateTab(index)} class={ classesTab.join(' ') }>{slot.data.attrs.label}</button>
+ <button disabled={slot.data.attrs.disabled} onClick={this.activateTab(index)} class={ classesTab.join(' ') }>{slot.data.attrs.label}</button>
</div>
)
})