From: Kiefer Chang Date: Wed, 2 Dec 2020 06:11:43 +0000 (+0800) Subject: mgr/dashboard: fix the exception when displaying OSD preview modal X-Git-Tag: v16.1.0~301^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d965b85c91e7f80916ea50d1d39f405723bcb176;p=ceph.git mgr/dashboard: fix the exception when displaying OSD preview modal Adapt changes in https://github.com/ceph/ceph/pull/37994. - The preview button should not spin. - The preview button should be enabled again after destroying the preview modal. Fixes: https://tracker.ceph.com/issues/48421 Signed-off-by: Kiefer Chang --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.html index 8907b161605e..0f1a5de6dee8 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.html @@ -122,7 +122,8 @@