@eric-emg/symphiq-components 1.2.314 → 1.2.316

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.
@@ -54246,7 +54246,7 @@ class SymphiqConnectGaDashboardComponent {
54246
54246
  const selectedId = this.selectedGaPropertyId();
54247
54247
  const isEditing = this.isEditingProperty();
54248
54248
  const reconnecting = this.isReconnecting();
54249
- return properties && properties.length > 0 && selectedId !== undefined && !isEditing && !reconnecting;
54249
+ return properties && properties.length > 0 && selectedId !== undefined && !isEditing && !reconnecting && !this.waitingForNewProperties;
54250
54250
  }, ...(ngDevMode ? [{ debugName: "isSelectedState" }] : []));
54251
54251
  this.hasPropertyChanged = computed(() => {
54252
54252
  const current = this.currentEditingPropertyId();
@@ -54308,7 +54308,7 @@ class SymphiqConnectGaDashboardComponent {
54308
54308
  }
54309
54309
  }
54310
54310
  }, ...(ngDevMode ? [{ debugName: "embeddedScrollEffect" }] : []));
54311
- this.previousPropertiesRef = undefined;
54311
+ this.waitingForNewProperties = false;
54312
54312
  this.propertiesReceivedEffect = effect(() => {
54313
54313
  const properties = this.gaProperties();
54314
54314
  const accounts = this.gaAccounts();
@@ -54316,16 +54316,16 @@ class SymphiqConnectGaDashboardComponent {
54316
54316
  console.log('[ConnectGA] properties:', properties?.length ?? 0, 'accounts:', accounts?.length ?? 0);
54317
54317
  console.log('[ConnectGA] internalConnecting:', this.internalConnecting());
54318
54318
  console.log('[ConnectGA] isReconnecting:', this.isReconnecting());
54319
- console.log('[ConnectGA] properties === previousRef:', properties === this.previousPropertiesRef);
54319
+ console.log('[ConnectGA] waitingForNewProperties:', this.waitingForNewProperties);
54320
54320
  console.log('[ConnectGA] isConnecting():', this.isConnecting());
54321
54321
  console.log('[ConnectGA] isConnectState():', this.isConnectState());
54322
54322
  console.log('[ConnectGA] isSelectionState():', this.isSelectionState());
54323
- if (this.internalConnecting() && properties && properties.length > 0 && properties !== this.previousPropertiesRef) {
54323
+ if (this.waitingForNewProperties && properties && properties.length > 0) {
54324
54324
  console.log('[ConnectGA] Resetting internalConnecting and isReconnecting to false');
54325
54325
  this.internalConnecting.set(false);
54326
54326
  this.isReconnecting.set(false);
54327
+ this.waitingForNewProperties = false;
54327
54328
  }
54328
- this.previousPropertiesRef = properties;
54329
54329
  }, ...(ngDevMode ? [{ debugName: "propertiesReceivedEffect", allowSignalWrites: true }] : [{ allowSignalWrites: true }]));
54330
54330
  this.scrollProgress = computed(() => this.headerScrollService.scrollProgress(), ...(ngDevMode ? [{ debugName: "scrollProgress" }] : []));
54331
54331
  this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
@@ -54404,6 +54404,7 @@ class SymphiqConnectGaDashboardComponent {
54404
54404
  }
54405
54405
  onGoogleButtonClick() {
54406
54406
  this.internalConnecting.set(true);
54407
+ this.waitingForNewProperties = true;
54407
54408
  this.googleButtonClick.emit();
54408
54409
  }
54409
54410
  useDifferentGoogleAccount() {