This commit is contained in:
Sofia Papacharalampous 2024-07-01 17:15:00 +03:00
parent 2777fdfd63
commit f55b26fe9a
4 changed files with 5 additions and 3 deletions

View File

@ -14,13 +14,13 @@
</div>
</div>
<div class="col-auto">
<div *ngIf="hasLoadedListingItems" class="row">
<div *ngIf="hasLoadedListingItems && (hasListingItems || hasFilters)" class="row">
<div class="col-12">
<app-navigation-breadcrumb />
</div>
</div>
</div>
<div *ngIf="hasLoadedListingItems && !hasListingItems && !isPublic || hasFilters" class="ml-auto">
<div *ngIf="hasLoadedListingItems && !isPublic && (hasListingItems || hasFilters)" class="ml-auto">
<div class="col-auto">
<button mat-raised-button class="add-description align-self-center yellow-btn" (click)="addNewDescription()">
{{'DESCRIPTION-LISTING.ACTIONS.ADD-DESCRIPTION' | translate}}

View File

@ -281,6 +281,7 @@ export class DescriptionListingComponent extends BaseListingComponent<BaseDescri
this.referenceFilters = this._patchReferenceFiltersFromForm(filterForm);
this.lookup = this._patchLookupFromForm(this.lookup, filterForm);
this.filtersCount = this._countFilters(this.lookup);
this.hasLoadedListingItems = false;
this.filterChanged(this.lookup)
}

View File

@ -11,7 +11,7 @@
</div>
</div>
</div>
<div *ngIf="hasLoadedListingItems" class="col-12">
<div *ngIf="hasLoadedListingItems && (hasListingItems || hasFilters)" class="col-12">
<app-navigation-breadcrumb />
</div>
<div *ngIf="hasLoadedListingItems && (hasListingItems || hasFilters)" class="filter-btn" [style.right]="dialog.getDialogById('filters') ? '446px' : '0px'" [style.width]="listingItems.length > 2 ? '57px' : '37px'" (click)="openFiltersDialog()">

View File

@ -290,6 +290,7 @@ export class DmpListingComponent extends BaseListingComponent<BaseDmp, DmpLookup
this.referenceFilters = this._patchReferenceFiltersFromForm(filterForm);
this.lookup = this._patchLookupFromForm(this.lookup, filterForm);
this.filtersCount = this._countFilters(this.lookup);
this.hasLoadedListingItems = false;
this.filterChanged(this.lookup)
}