Skip to content

Commit

Permalink
fix(input-time-zone): remove debugging log messages (#11106)
Browse files Browse the repository at this point in the history
**Related Issue:** #10981 

## Summary

✨🧪🧹😅✨
  • Loading branch information
jcfranco authored Dec 18, 2024
1 parent 3bb022b commit d7e8b36
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d7e8b36

Please sign in to comment.