From: Dnyaneshwari Date: Mon, 14 Oct 2024 04:26:45 +0000 (+0530) Subject: Squid: mgr/dashboard: The subvolumes are missing from the dropdown menu on the "Creat... X-Git-Tag: testing/wip-vshankar-testing-20241106.074359-squid-debug~66^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=cc7c1984a87e76cb35f30fc08c4192fa6ef85191;p=ceph-ci.git Squid: mgr/dashboard: The subvolumes are missing from the dropdown menu on the "Create NFS export" page Fixes: https://tracker.ceph.com/issues/68519 Signed-off-by: Dnyaneshwari Talwekar (cherry picked from commit e036fde7e4b03241e617cbb3ef8f19a703aae716) --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html index 1e5654b6578..e397d28263b 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html @@ -184,9 +184,7 @@ id="path" data-testid="fs_path" formControlName="path" - [ngbTypeahead]="pathDataSource" - (selectItem)="pathChangeHandler()" - (blur)="pathChangeHandler()"> + [ngbTypeahead]="pathDataSource">

A path in a CephFS file system.

diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.ts index e6f413f326b..341f690f13b 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.ts @@ -392,7 +392,7 @@ export class NfsFormComponent extends CdForm implements OnInit { fs_name: this.selectedFsName } }); - this.volumeChangeHandler(); + this.getSubVolGrp(this.selectedFsName); } if (!_.isEmpty(this.selectedSubvolGroup)) { this.nfsForm.patchValue({