Skip to content

Commit 0c76966

Browse files
committed
commit
1 parent 191d725 commit 0c76966

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
All notable changes to `vue-tabs-component` will be documented in this file
44

5+
## 1.2.2 - 2017-10-04
6+
- fix default `useUrlFragment` behaviour
7+
58
## 1.2.1 - 2017-10-04
69
- fix bugs caused by unset options prop
710

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-tabs-component",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"description": "A Vue component to easily render tabs",
55
"main": "dist/index.js",
66
"jsnext:main": "src/index.js",

src/components/Tabs.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,13 @@
3030
export default {
3131
props: {
3232
cacheLifetime: { default: 5 },
33-
options: { type: Object, required: false, default: () => ({}) },
33+
options: {
34+
type: Object,
35+
required: false,
36+
default () {
37+
useUrlFragment: true
38+
},
39+
},
3440
},
3541
3642
data: () => ({

0 commit comments

Comments
 (0)