]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix regression in delete OSD modal 35985/head
authorKiefer Chang <kiefer.chang@suse.com>
Thu, 9 Jul 2020 07:17:37 +0000 (15:17 +0800)
committerKiefer Chang <kiefer.chang@suse.com>
Thu, 9 Jul 2020 07:28:33 +0000 (15:28 +0800)
commit92f94bd71290d6e2016f56812c417d972cd7b632
tree9e78b7036ca66f3764b1dd2dd693f6425e5a5be5
parente2ccc2cb16fbcea8887a68c615511875e731db1d
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>
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html