From abe1e5101cae0fc98ad9c6c404c6f7ce97a42137 Mon Sep 17 00:00:00 2001 From: Pedro Gonzalez Gomez Date: Thu, 20 Apr 2023 17:29:57 +0200 Subject: [PATCH] mgr/dashboard: hide notification on force promote Fixes: https://tracker.ceph.com/issues/59500 Signed-off-by: Pedro Gonzalez Gomez --- .../frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts index 72994cab1e36a..10230035d2988 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts @@ -577,6 +577,7 @@ export class RbdListComponent extends ListWithDetails implements OnInit { .subscribe( () => {}, (error) => { + error.preventDefault(); if (primary) { this.errorMessage = error.error['detail'].replace(/\[.*?\]\s*/, ''); request.force = true; -- 2.39.5