@smartsoft001/crud-shell-angular 2.85.0 → 2.86.0
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.
|
@@ -1953,6 +1953,11 @@ class ItemComponent extends CreateDynamicComponent('crud-item-page') {
|
|
|
1953
1953
|
constructor() {
|
|
1954
1954
|
super();
|
|
1955
1955
|
this.selected = this.facade.selected;
|
|
1956
|
+
effect(() => {
|
|
1957
|
+
this.item = this.facade.selected();
|
|
1958
|
+
this.initPageOptions();
|
|
1959
|
+
this.cd.detectChanges();
|
|
1960
|
+
});
|
|
1956
1961
|
}
|
|
1957
1962
|
refreshProperties() {
|
|
1958
1963
|
this.baseComponentRef.setInput('detailsOptions', this.detailsOptions());
|
|
@@ -2049,11 +2054,6 @@ class ItemComponent extends CreateDynamicComponent('crud-item-page') {
|
|
|
2049
2054
|
});
|
|
2050
2055
|
}
|
|
2051
2056
|
this.initPageOptions();
|
|
2052
|
-
effect(() => {
|
|
2053
|
-
this.item = this.facade.selected();
|
|
2054
|
-
this.initPageOptions();
|
|
2055
|
-
this.cd.detectChanges();
|
|
2056
|
-
});
|
|
2057
2057
|
this.refreshDynamicInstance();
|
|
2058
2058
|
}
|
|
2059
2059
|
ngOnDestroy() {
|