From 5a921e092d71115653385acd595d97dfebe3c2af Mon Sep 17 00:00:00 2001 From: josias-r Date: Fri, 11 Nov 2022 14:53:04 +0100 Subject: [PATCH] fix: fix step-level popover `showButtons` option being ignored when set to `false` --- src/lib/boarding.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/boarding.ts b/src/lib/boarding.ts index 678e24a..bf7a02a 100644 --- a/src/lib/boarding.ts +++ b/src/lib/boarding.ts @@ -634,7 +634,9 @@ class Boarding { currentStep.popover.prefferedSide || this.options.prefferedSide, alignment: currentStep.popover.alignment || this.options.alignment, showButtons: - currentStep.popover.showButtons || this.options.showButtons, + currentStep.popover.showButtons === undefined + ? this.options.showButtons + : currentStep.popover.showButtons, doneBtnText: currentStep.popover.doneBtnText || this.options.doneBtnText, closeBtnText: