ngx-render-material-forms 1.9.7 → 1.9.8
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/esm2020/lib/components/add-on-products/add-on-products.component.mjs +6 -2
- package/fesm2015/ngx-render-material-forms.js +5 -1
- package/fesm2015/ngx-render-material-forms.mjs.map +1 -1
- package/fesm2020/ngx-render-material-forms.js +5 -1
- package/fesm2020/ngx-render-material-forms.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3792,7 +3792,11 @@ class AddOnProductsComponent {
|
|
|
3792
3792
|
getProducts(flag) {
|
|
3793
3793
|
this.spinnerFlag = true;
|
|
3794
3794
|
const search = this.searchQuery;
|
|
3795
|
-
|
|
3795
|
+
const levelOneId = this.levelOneId ? this.levelOneId : 0;
|
|
3796
|
+
const levelTwoId = this.levelTwoId ? this.levelTwoId : 0;
|
|
3797
|
+
const levelThreeId = this.levelThreeId ? this.levelThreeId : 0;
|
|
3798
|
+
const levelFourId = this.levelFourId ? this.levelFourId : 0;
|
|
3799
|
+
this.commonSevice.loadProducts(this.pageNumber, this.pageSize, search, true, false, levelOneId, levelTwoId, levelThreeId, levelFourId).subscribe(response => {
|
|
3796
3800
|
this.spinnerFlag = false;
|
|
3797
3801
|
if (response && response.code === 200) {
|
|
3798
3802
|
this.totalPages = response?.data?.totalPages;
|