]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix regression in delete OSD modal 36419/head
authorKiefer Chang <kiefer.chang@suse.com>
Thu, 9 Jul 2020 07:17:37 +0000 (15:17 +0800)
committerKiefer Chang <kiefer.chang@suse.com>
Mon, 3 Aug 2020 03:08:18 +0000 (11:08 +0800)
commit080a16c104907fc70a75b074cdc757d11dea5b15
treea9a8c152ba70471579cc389b09d6f17eabb8af3a
parent14ef12ec8c02d25901126ad7b6c2ecd4062368d6
mgr/dashboard: fix regression in delete OSD modal

The autofocus attribute of `preserve` input makes the form become touched
after the view is loaded. Removing it to avoid
ExpressionChangedAfterItHasBeenCheckedError.

Fixes: https://tracker.ceph.com/issues/46413
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
Co-authored-by: Stephan Müller <smueller@suse.com>
(cherry picked from commit 92f94bd71290d6e2016f56812c417d972cd7b632)
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html