Skip to content

Commit

Permalink
Update story
Browse files Browse the repository at this point in the history
  • Loading branch information
caleeli committed Feb 29, 2024
1 parent 56287fc commit 4ee7347
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/stories/DropdownAndPages.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ export default {
onSeeAllPages() {
console.log("See all pages clicked");
},
onClick(index) {
onClick(page) {
const index = this.pages.indexOf(page);
this.$refs.tabsBar.openPageByIndex(index);
}
}
Expand Down

0 comments on commit 4ee7347

Please sign in to comment.