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=942109d5710e4a81ec91df005f90f4aea357a195;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 (cherry picked from commit beaa1202f1dc9a9c17d29c483f5bfe9e993a58f1) --- 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 5ff07f75eb33..b511a8b264ee 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 4b42c0c261d4..54fad95d984d 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 5312fa33d2e7..41394cc3c6c5 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 @@ -20,8 +20,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, @@ -42,7 +40,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';