From d96893c0ebd7c0dc3c45dbad83254489a1277bb0 Mon Sep 17 00:00:00 2001 From: Luke Westfall Date: Thu, 12 Oct 2023 16:39:01 -0400 Subject: [PATCH] fix: accordionTab.toggle() with no args --- src/app/components/accordion/accordion.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/accordion/accordion.ts b/src/app/components/accordion/accordion.ts index 975f44efb35..1a334e1bcd6 100755 --- a/src/app/components/accordion/accordion.ts +++ b/src/app/components/accordion/accordion.ts @@ -283,7 +283,7 @@ export class AccordionTab implements AfterContentInit, OnDestroy { this.accordion.updateActiveIndex(); this.changeDetector.markForCheck(); - event.preventDefault(); + event?.preventDefault(); } findTabIndex() {