Skip to content
Snippets Groups Projects
Commit 06455218 authored by lhenze's avatar lhenze
Browse files

Moving the ngIf directive to wrap both parts of the statement

parent 0ad505ba
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,10 @@
<div class="pagination-masked clearfix top">
<div class="row">
<div *ngIf="!hidePaginationDetail" class="col-auto pagination-info">
<span class="align-middle hidden-xs-down">{{ 'pagination.showing.label' | translate }}</span>
<span class="align-middle" *ngIf="collectionSize">{{ 'pagination.showing.detail' | translate:getShowingDetails(collectionSize)}}</span>
<ng-container *ngIf="collectionSize">
<span class="align-middle hidden-xs-down">{{ 'pagination.showing.label' | translate }}</span>
<span class="align-middle">{{ 'pagination.showing.detail' | translate:getShowingDetails(collectionSize)}}</span>
</ng-container>
</div>
<div class="col">
<div *ngIf="!hideGear" ngbDropdown #paginationControls="ngbDropdown" placement="bottom-right" class="d-inline-block float-right">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment