cat-qw-lib 2.1.60 → 2.1.62
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.
package/fesm2022/cat-qw-lib.mjs
CHANGED
|
@@ -5800,6 +5800,7 @@ class WidgetContainerComponent {
|
|
|
5800
5800
|
.pipe(takeUntil(this.destroy$))
|
|
5801
5801
|
.subscribe((res) => {
|
|
5802
5802
|
this.widgets = res;
|
|
5803
|
+
console.log('wisgets', this.widgets);
|
|
5803
5804
|
this.widgetStore.setWidgetsList(this.widgets);
|
|
5804
5805
|
this.isLoading = false;
|
|
5805
5806
|
// Update styles after data is loaded
|
|
@@ -5811,9 +5812,11 @@ class WidgetContainerComponent {
|
|
|
5811
5812
|
});
|
|
5812
5813
|
}
|
|
5813
5814
|
updateWidgetStylesFromData() {
|
|
5815
|
+
console.log(this.widgets, 'test8399');
|
|
5814
5816
|
if (this.widgets && this.widgets.length > 0) {
|
|
5815
5817
|
// Find the widget that matches our widgetName
|
|
5816
5818
|
const matchingWidget = this.widgets.find((widget) => widget.widgetName === this.widgetName);
|
|
5819
|
+
console.log(matchingWidget, 'test839399');
|
|
5817
5820
|
if (matchingWidget && matchingWidget.style) {
|
|
5818
5821
|
this.updateWidgetStyles(matchingWidget);
|
|
5819
5822
|
}
|