intelica-library-components 1.1.154 → 1.1.156
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.
|
@@ -6206,7 +6206,7 @@ class DashboardQsComponent {
|
|
|
6206
6206
|
routeData = toSignal(this.route.data, { initialValue: this.route.snapshot.data });
|
|
6207
6207
|
dashboardId = computed(() => this.dashboardIdInput() ?? this.routeData()['dashboardId'], ...(ngDevMode ? [{ debugName: "dashboardId" }] : []));
|
|
6208
6208
|
parameters = computed(() => this.parametersInput() ?? this.routeData()['parameters'], ...(ngDevMode ? [{ debugName: "parameters" }] : []));
|
|
6209
|
-
height = computed(() => this.heightInput() ?? this.routeData()['height']
|
|
6209
|
+
height = computed(() => this.heightInput() ?? this.routeData()['height'], ...(ngDevMode ? [{ debugName: "height" }] : []));
|
|
6210
6210
|
isLoading = signal(true, ...(ngDevMode ? [{ debugName: "isLoading" }] : []));
|
|
6211
6211
|
isLoadingChange = output();
|
|
6212
6212
|
viewReady = signal(false, ...(ngDevMode ? [{ debugName: "viewReady" }] : []));
|
|
@@ -6230,7 +6230,7 @@ class DashboardQsComponent {
|
|
|
6230
6230
|
return;
|
|
6231
6231
|
this.isLoading.set(true);
|
|
6232
6232
|
try {
|
|
6233
|
-
await this.sharedService.embedDashboard({ dashboardId, parameters: this.parameters() }, container, { height: this.height() });
|
|
6233
|
+
await this.sharedService.embedDashboard({ dashboardId, parameters: this.parameters() }, container, { height: this.height() ?? `${window.innerHeight}px` });
|
|
6234
6234
|
}
|
|
6235
6235
|
catch (error) {
|
|
6236
6236
|
console.error('Error embedding dashboard:', error);
|