Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Oct 4, 2017
1 parent 191d725 commit 0c76966
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

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

## 1.2.2 - 2017-10-04
- fix default `useUrlFragment` behaviour

## 1.2.1 - 2017-10-04
- fix bugs caused by unset options prop

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-tabs-component",
"version": "1.2.1",
"version": "1.2.2",
"description": "A Vue component to easily render tabs",
"main": "dist/index.js",
"jsnext:main": "src/index.js",
Expand Down
8 changes: 7 additions & 1 deletion src/components/Tabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@
export default {
props: {
cacheLifetime: { default: 5 },
options: { type: Object, required: false, default: () => ({}) },
options: {
type: Object,
required: false,
default () {
useUrlFragment: true
},
},
},
data: () => ({
Expand Down

0 comments on commit 0c76966

Please sign in to comment.