cat-qw-lib 0.25.6 → 0.25.7
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
|
@@ -544,7 +544,6 @@ class BaseControlComponent {
|
|
|
544
544
|
query;
|
|
545
545
|
destroy$ = new Subject();
|
|
546
546
|
ngOnInit() {
|
|
547
|
-
console.log(BaseControlComponent.allAttributes);
|
|
548
547
|
this.addToAttributeList();
|
|
549
548
|
this.baseQuery.getIsFormSubmitted()
|
|
550
549
|
.pipe(takeUntil(this.destroy$))
|
|
@@ -1222,6 +1221,9 @@ class BaseFormComponent {
|
|
|
1222
1221
|
this.onCancel.emit();
|
|
1223
1222
|
}
|
|
1224
1223
|
ngOnDestroy() {
|
|
1224
|
+
if (this.baseStore)
|
|
1225
|
+
this.baseStore.setAttributeModelList([]);
|
|
1226
|
+
console.log(this.baseQuery?.getValue());
|
|
1225
1227
|
this.destroy$.next();
|
|
1226
1228
|
this.destroy$.complete();
|
|
1227
1229
|
}
|