From beaa1202f1dc9a9c17d29c483f5bfe9e993a58f1 Mon Sep 17 00:00:00 2001 From: Nizamudeen A Date: Mon, 23 Mar 2026 11:14:02 +0530 Subject: [PATCH] mgr/dashboard: fix the missing injectors for child formgroup tpl Fixes: https://tracker.ceph.com/issues/75657 Signed-off-by: Nizamudeen A --- .../cephfs-subvolume-list.component.html | 23 +++++++++---------- .../osd/osd-list/osd-list.component.html | 17 +++++--------- .../delete-confirmation-modal.component.ts | 6 ++--- 3 files changed, 20 insertions(+), 26 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-subvolume-list/cephfs-subvolume-list.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-subvolume-list/cephfs-subvolume-list.component.html index afc8172b7775..4cec98e31c6b 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-subvolume-list/cephfs-subvolume-list.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-subvolume-list/cephfs-subvolume-list.component.html @@ -89,20 +89,19 @@ type="error"> {{errorMessage}} -
-
- -
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html index 70c91b26e26a..bbb6449fc6a3 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html @@ -144,17 +144,12 @@ let-form="form"> -
-
- - -
+
+ Preserve OSD ID(s) for replacement.
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/delete-confirmation-modal/delete-confirmation-modal.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/delete-confirmation-modal/delete-confirmation-modal.component.ts index 4b34d02a10ff..9ba8adc9310f 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/delete-confirmation-modal/delete-confirmation-modal.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/delete-confirmation-modal/delete-confirmation-modal.component.ts @@ -21,8 +21,6 @@ export class DeleteConfirmationModalComponent extends BaseModal implements OnIni submitButton: SubmitButtonComponent; deletionForm: CdFormGroup; impactEnum = DeletionImpact; - childFormGroup: CdFormGroup; - childFormGroupTemplate: TemplateRef; submitDisabled$: Observable = of(false); constructor( @Optional() @Inject('impact') public impact: DeletionImpact, @@ -43,7 +41,9 @@ export class DeleteConfirmationModalComponent extends BaseModal implements OnIni @Optional() @Inject('callBackAtionObservable') public callBackAtionObservable?: () => Observable, - @Optional() @Inject('hideDefaultWarning') public hideDefaultWarning?: boolean + @Optional() @Inject('hideDefaultWarning') public hideDefaultWarning?: boolean, + @Optional() @Inject('childFormGroup') public childFormGroup?: CdFormGroup, + @Optional() @Inject('childFormGroupTemplate') public childFormGroupTemplate?: TemplateRef ) { super(); this.actionDescription = actionDescription || 'delete'; -- 2.47.3