]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Deletion dialog falsely executes deletion when pressing 'Cancel' 22032/head
authorVolker Theile <vtheile@suse.com>
Wed, 16 May 2018 13:51:32 +0000 (15:51 +0200)
committerVolker Theile <vtheile@suse.com>
Wed, 16 May 2018 13:51:32 +0000 (15:51 +0200)
commitc1ce2b0a2450c7805839a4002a55e83262210ac9
tree92c95598111fb182be30bbeecdd18d33be6378a1
parentec3e965f8447c443484eab73db32489c69aaeccc
mgr/dashboard: Deletion dialog falsely executes deletion when pressing 'Cancel'

If a deletion fails and the 'Cancel' button is pressed to close the dialog, then the deletion process is triggered again.

Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit 0473b02872f9dbc1993ec5d6686484c24986e85c)
src/pybind/mgr/dashboard/frontend/src/app/shared/components/deletion-modal/deletion-modal.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/components/deletion-modal/deletion-modal.component.ts