load more plan/description don't push to top of page
This commit is contained in:
parent
31accd05a2
commit
f7b4b4f0eb
|
@ -71,7 +71,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@if(!isLoading) {
|
||||
<div class="col-md-12 col-sm-12 col-md-9">
|
||||
<div *ngFor="let item of listingItems; let i = index">
|
||||
<app-description-listing-item-component
|
||||
|
@ -88,7 +87,6 @@
|
|||
<div *ngIf="!hasListingItems && hasFilters" class="col-md-12 d-flex justify-content-center pt-4 mt-4 mb-4 pb-4">
|
||||
<span class="empty-list">{{'DESCRIPTION-LISTING.EMPTY-LIST' | translate}}</span>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -56,7 +56,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@if(!isLoading) {
|
||||
<div class="col-md-12 col-sm-12 col-md-9">
|
||||
<div *ngFor="let item of listingItems; let i = index">
|
||||
<app-plan-listing-item-component
|
||||
|
@ -77,7 +76,6 @@
|
|||
<div *ngIf="!hasListingItems && hasFilters" class="col-md-12 d-flex justify-content-center pt-4 mt-4 mb-4 pb-4">
|
||||
<span class="empty-list">{{'PLAN-LISTING.FILTERS.NO-ITEMS-FOUND' | translate}}</span>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -112,7 +112,10 @@ export abstract class BaseListingComponent<ItemModel, LookupModel extends Lookup
|
|||
value.page = { offset: 0, size: this.ITEMS_PER_PAGE }
|
||||
}
|
||||
this.userSettingsPickerComponent?.resetToDraft();
|
||||
this.router.navigate([], { queryParams: { 'lookup': this.queryParamsService.serializeLookup(value), 'lv': ++this.lv }, replaceUrl: true });
|
||||
this.router.navigate([], {
|
||||
queryParams: { 'lookup': this.queryParamsService.serializeLookup(value), 'lv': ++this.lv },
|
||||
replaceUrl: true
|
||||
});
|
||||
}
|
||||
|
||||
changeSetting(lookup: LookupModel): void {
|
||||
|
|
Loading…
Reference in New Issue