From d7e8b36d20ab83c6e81468cdc18174af2412ea4d Mon Sep 17 00:00:00 2001 From: JC Franco Date: Wed, 18 Dec 2024 15:36:04 -0800 Subject: [PATCH] fix(input-time-zone): remove debugging log messages (#11106) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Related Issue:** #10981 ## Summary ✨🧪🧹😅✨ --- .../src/components/input-time-zone/input-time-zone.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/calcite-components/src/components/input-time-zone/input-time-zone.tsx b/packages/calcite-components/src/components/input-time-zone/input-time-zone.tsx index b8071c24c3c..067ea2c096e 100644 --- a/packages/calcite-components/src/components/input-time-zone/input-time-zone.tsx +++ b/packages/calcite-components/src/components/input-time-zone/input-time-zone.tsx @@ -386,21 +386,16 @@ export class InputTimeZone * @private */ private overrideSelectedLabelForRegion(open: boolean): void { - console.log("ovd"); if (this.mode !== "region" || !this.selectedTimeZoneItem) { - console.log("bail"); return; } const { label, metadata } = this.selectedTimeZoneItem; - const lbl = + this.comboboxEl.selectedItems[0].textLabel = !metadata.country || open ? label : getSelectedRegionTimeZoneLabel(label, metadata.country, this.messages); - - console.log("label", lbl); - this.comboboxEl.selectedItems[0].textLabel = lbl; } private onComboboxBeforeClose(event: CustomEvent): void {