From cc7c1984a87e76cb35f30fc08c4192fa6ef85191 Mon Sep 17 00:00:00 2001 From: Dnyaneshwari Date: Mon, 14 Oct 2024 09:56:45 +0530 Subject: [PATCH] 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) --- .../src/app/ceph/nfs/nfs-form/nfs-form.component.html | 4 +--- .../frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.ts | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) 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({ -- 2.39.5