aboutsummaryrefslogtreecommitdiff
path: root/src/components/tab_switcher
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-08-28 16:22:49 +0300
committerHenry Jameson <me@hjkos.com>2018-08-28 16:22:49 +0300
commit66a22762c21f652342ca2421f732650c261abc02 (patch)
tree6b0b6da8cd8c369cde1ed5670208e3b299c5cbf2 /src/components/tab_switcher
parentda362b2b88b9d21a5cca654feafde5bea612a31a (diff)
fixup! Separated tab-switcher into a reusable component. This depends on JSX addition
Diffstat (limited to 'src/components/tab_switcher')
-rw-r--r--src/components/tab_switcher/tab_switcher.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/tab_switcher/tab_switcher.jsx b/src/components/tab_switcher/tab_switcher.jsx
index 0a6eec11..3fff38f6 100644
--- a/src/components/tab_switcher/tab_switcher.jsx
+++ b/src/components/tab_switcher/tab_switcher.jsx
@@ -23,7 +23,7 @@ export default Vue.component('tab-switcher', {
if (index === this.active) {
classes.push('active')
}
- return (<button onClick={this.activateTab(index)} class={ classes.join(' ') }>{slot.data.attrs.title}</button>)
+ return (<button onClick={this.activateTab(index)} class={ classes.join(' ') }>{slot.data.attrs.label}</button>)
});
const contents = (
<div>