From: Nizamudeen A Date: Mon, 23 Mar 2026 05:44:02 +0000 (+0530) Subject: mgr/dashboard: fix the missing injectors for child formgroup tpl X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=beaa1202f1dc9a9c17d29c483f5bfe9e993a58f1;p=ceph.git mgr/dashboard: fix the missing injectors for child formgroup tpl Fixes: https://tracker.ceph.com/issues/75657 Signed-off-by: Nizamudeen A --- 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';