mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
feat(global): display a loading text in list views (#267)
This commit is contained in:
parent
d8f2e3da86
commit
b81d4fa7f2
10 changed files with 26 additions and 8 deletions
|
@ -5,8 +5,6 @@ function ($scope, $state, Volume, Messages) {
|
|||
$scope.state.selectedItemCount = 0;
|
||||
$scope.sortType = 'Name';
|
||||
$scope.sortReverse = true;
|
||||
$scope.volumes = [];
|
||||
|
||||
$scope.config = {
|
||||
Name: ''
|
||||
};
|
||||
|
@ -61,6 +59,7 @@ function ($scope, $state, Volume, Messages) {
|
|||
}, function (e) {
|
||||
$('#loadVolumesSpinner').hide();
|
||||
Messages.error("Failure", e, "Unable to retrieve volumes");
|
||||
$scope.volumes = [];
|
||||
});
|
||||
}
|
||||
fetchVolumes();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue