@meetelise/chat 1.20.59 → 1.20.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,9 +16,7 @@ import fetchBuildingABTestType, {
16
16
  abTestTypes,
17
17
  } from "../fetchBuildingABTestType";
18
18
  import fetchCurrentParsedLeadSource from "../fetchCurrentParsedLeadSource";
19
- import fetchPhoneNumberFromSource, {
20
- NumberForSelectedSource,
21
- } from "../fetchPhoneNumberFromSource";
19
+ import { NumberForSelectedSource } from "../fetchPhoneNumberFromSource";
22
20
  import { getTheme, Theme, ThemeIdString } from "../themes";
23
21
  import { isMobile } from "../utils";
24
22
  import { installLauncher } from "./Launcher";
@@ -199,10 +197,13 @@ export class MEChat extends LitElement {
199
197
  this.featureFlagShowDropdown = featureFlagShowDropdown;
200
198
  this.currentLeadSource = currentLeadSource;
201
199
 
202
- const phoneNumberForSource = await fetchPhoneNumberFromSource(
203
- this.buildingSlug,
204
- this.currentLeadSource
205
- );
200
+ // const phoneNumberForSource = await fetchPhoneNumberFromSource(
201
+ // this.buildingSlug,
202
+ // this.currentLeadSource
203
+ // );
204
+
205
+ // For now, we're not using the IVR phone number due to internal errors for IVR, so we're just setting it to null for temporary fix
206
+ const phoneNumberForSource = null;
206
207
 
207
208
  // if the building does NOT have IVR setup, we want to use the building's phone number
208
209
  if (!phoneNumberForSource) {