fixed table "No results" message #1535
gitea/salix/dev This commit looks good Details

This commit is contained in:
Joan Sanchez 2019-06-14 08:41:21 +02:00
parent ced4578f75
commit 0d3efd2549
1 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,10 @@
<vn-empty-rows ng-if="$ctrl.isRefreshing"> <vn-empty-rows ng-if="$ctrl.isRefreshing">
<vn-spinner enable="$ctrl.isRefreshing"></vn-spinner> <vn-spinner enable="$ctrl.isRefreshing"></vn-spinner>
</vn-empty-rows> </vn-empty-rows>
<vn-empty-rows ng-if="!$ctrl.isRefreshing && !$ctrl.model.data"> <vn-empty-rows ng-if="$ctrl.model && !$ctrl.isRefreshing && !$ctrl.model.data">
<span translate>Enter a new search</span>
</vn-empty-rows>
<vn-empty-rows ng-if="$ctrl.model && !$ctrl.isRefreshing && $ctrl.model.data.length == 0">
<span translate>No results</span> <span translate>No results</span>
</vn-empty-rows> </vn-empty-rows>
</div> </div>