no group/collections message

This commit is contained in:
Kyle Spearrin 2018-07-10 10:07:52 -04:00
parent edef454043
commit 9432abbd1a
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
</div>
<i class="fa fa-spinner fa-spin text-muted" *ngIf="loading"></i>
<ng-container *ngIf="!loading && (collections | search:searchText:'name':'id') as searchedCollections">
<p *ngIf="!searchedCollections.length">{{'noItemsInList' | i18n}}</p>
<p *ngIf="!searchedCollections.length">{{'noCollectionsInList' | i18n}}</p>
<table class="table table-hover table-list" *ngIf="searchedCollections.length">
<tbody>
<tr *ngFor="let c of searchedCollections">

View File

@ -13,7 +13,7 @@
</div>
<i class="fa fa-spinner fa-spin text-muted" *ngIf="loading"></i>
<ng-container *ngIf="!loading && (groups | search:searchText:'name':'id') as searchedGroups">
<p *ngIf="!searchedGroups.length">{{'noItemsInList' | i18n}}</p>
<p *ngIf="!searchedGroups.length">{{'noGroupsInList' | i18n}}</p>
<table class="table table-hover table-list" *ngIf="searchedGroups.length">
<tbody>
<tr *ngFor="let g of searchedGroups">