From 90403bdef7a7279a5fce834219220b41ecb14486 Mon Sep 17 00:00:00 2001 From: ariellalgilmore Date: Tue, 13 Feb 2024 10:48:44 -0800 Subject: [PATCH] fix(leaving-ibm): update slot function name --- .../src/components/leaving-ibm/leaving-ibm-modal.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web-components/src/components/leaving-ibm/leaving-ibm-modal.ts b/packages/web-components/src/components/leaving-ibm/leaving-ibm-modal.ts index 777e336bbc1..bb2e4b8861d 100644 --- a/packages/web-components/src/components/leaving-ibm/leaving-ibm-modal.ts +++ b/packages/web-components/src/components/leaving-ibm/leaving-ibm-modal.ts @@ -1,7 +1,7 @@ /** * @license * - * Copyright IBM Corp. 2020, 2023 + * Copyright IBM Corp. 2020, 2024 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. @@ -40,7 +40,7 @@ class C4DLeavingIbmModal extends StableSelectorMixin(CDSModal) { */ @HostListener('shadowRoot:slotchange') // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to - private _handleSlotChange = (event: Event) => { + private _handleShadowRootSlotChange = (event: Event) => { const { selectorHeading } = this.constructor as typeof C4DLeavingIbmModal; if (!this.hasAttribute('aria-labelledby')) { const headingNode = (event.target as HTMLSlotElement)