@eric-emg/symphiq-components 1.2.313 → 1.2.315

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.
@@ -54308,14 +54308,24 @@ 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
- if (this.internalConnecting() && properties && properties.length > 0 && properties !== this.previousPropertiesRef) {
54314
+ const accounts = this.gaAccounts();
54315
+ console.log('[ConnectGA] propertiesReceivedEffect triggered');
54316
+ console.log('[ConnectGA] properties:', properties?.length ?? 0, 'accounts:', accounts?.length ?? 0);
54317
+ console.log('[ConnectGA] internalConnecting:', this.internalConnecting());
54318
+ console.log('[ConnectGA] isReconnecting:', this.isReconnecting());
54319
+ console.log('[ConnectGA] waitingForNewProperties:', this.waitingForNewProperties);
54320
+ console.log('[ConnectGA] isConnecting():', this.isConnecting());
54321
+ console.log('[ConnectGA] isConnectState():', this.isConnectState());
54322
+ console.log('[ConnectGA] isSelectionState():', this.isSelectionState());
54323
+ if (this.waitingForNewProperties && properties && properties.length > 0) {
54324
+ console.log('[ConnectGA] Resetting internalConnecting and isReconnecting to false');
54315
54325
  this.internalConnecting.set(false);
54316
54326
  this.isReconnecting.set(false);
54327
+ this.waitingForNewProperties = false;
54317
54328
  }
54318
- this.previousPropertiesRef = properties;
54319
54329
  }, ...(ngDevMode ? [{ debugName: "propertiesReceivedEffect", allowSignalWrites: true }] : [{ allowSignalWrites: true }]));
54320
54330
  this.scrollProgress = computed(() => this.headerScrollService.scrollProgress(), ...(ngDevMode ? [{ debugName: "scrollProgress" }] : []));
54321
54331
  this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
@@ -54394,6 +54404,7 @@ class SymphiqConnectGaDashboardComponent {
54394
54404
  }
54395
54405
  onGoogleButtonClick() {
54396
54406
  this.internalConnecting.set(true);
54407
+ this.waitingForNewProperties = true;
54397
54408
  this.googleButtonClick.emit();
54398
54409
  }
54399
54410
  useDifferentGoogleAccount() {