bug fix on dashboard with keyword option
This commit is contained in:
parent
4aba8edf23
commit
9fd8b680e4
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue