bug fix on dashboard with keyword option

This commit is contained in:
Sofia Papacharalampous 2024-05-23 15:53:21 +03:00
parent 4aba8edf23
commit 9fd8b680e4
1 changed files with 3 additions and 1 deletions

View File

@ -127,7 +127,7 @@ export class RecentEditedActivityComponent extends BaseComponent implements OnIn
let parametersArray: string[] = [
...(this.currentPage > 1 ? ["page=" + this.currentPage] : []),
...(this.formGroup.get("like").value ? ["&keyword=" + this.formGroup.get("like").value] : [])
...(this.formGroup.get("like").value ? ["keyword=" + this.formGroup.get("like").value] : [])
]
let parameters = "";
@ -186,6 +186,8 @@ export class RecentEditedActivityComponent extends BaseComponent implements OnIn
.subscribe(response => {
if (response == null) return;
if (this.lookup.page.offset == 0) this.listingItems = [];
response.forEach(item => {
if (item.dmp){
if (item.dmp.descriptions) {