mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
feat(global): display a message when no item available in a list view (#263)
This commit is contained in:
parent
134416c9a3
commit
35ced4901a
11 changed files with 22 additions and 3 deletions
|
@ -107,6 +107,9 @@
|
|||
<td>{{ image.VirtualSize|humansize }}</td>
|
||||
<td>{{ image.Created|getisodatefromtimestamp }}</td>
|
||||
</tr>
|
||||
<tr ng-if="images.length == 0">
|
||||
<td colspan="5" class="text-center text-muted">No images available.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
@ -5,6 +5,7 @@ function ($scope, $state, Config, Image, Messages) {
|
|||
$scope.sortType = 'RepoTags';
|
||||
$scope.sortReverse = true;
|
||||
$scope.state.selectedItemCount = 0;
|
||||
$scope.images = [];
|
||||
|
||||
$scope.config = {
|
||||
Image: '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue