Skip to content

Commit b1cdd63

Browse files
committed
fix(VTour): Fixed #78
1 parent 796a0d1 commit b1cdd63

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@globalhive/vuejs-tour",
3-
"version": "2.3.2",
3+
"version": "2.3.3",
44
"description": "VueJS Tour is a lightweight, simple and customizable tour plugin. It provides a quick and easy way to guide your users through your application.",
55
"author": "Global Hive <support@globalhive.de>",
66
"license": "MIT",

src/components/VTour.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function goToStep(step: number): void{
140140
}
141141
142142
async function beforeStep(step: number): Promise<void> {
143-
await props.steps[step].onBefore?.();
143+
await props.steps[step]?.onBefore?.();
144144
}
145145
146146
async function updatePosition(): Promise<void>{

0 commit comments

Comments
 (0)