]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: Handle errors during deletion
authorVolker Theile <vtheile@suse.com>
Tue, 15 May 2018 12:25:30 +0000 (14:25 +0200)
committerVolker Theile <vtheile@suse.com>
Tue, 15 May 2018 12:25:30 +0000 (14:25 +0200)
commitb2fa819fdfee93e6951666198720bce44c37b95d
tree26739dbdb6bbdc8224c8aae8735731425c5898df
parentf3cfb9407c33d722571e15e8af8f976de1456e52
mgr/dashboard: Handle errors during deletion

- Take care that the deletion dialog gets notified about errors to stop the progress spinner and enable the delete button again.
- Prettify JS code.

Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-list/rgw-user-list.component.ts