]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Squid: mgr/dashboard: The subvolumes are missing from the dropdown menu on the "Creat... 60356/head
authorDnyaneshwari <dnyaneshwari@li-9c9fbecc-2d5c-11b2-a85c-e2a7cc8a424f.ibm.com>
Mon, 14 Oct 2024 04:26:45 +0000 (09:56 +0530)
committerDnyaneshwari <dnyaneshwari@li-9c9fbecc-2d5c-11b2-a85c-e2a7cc8a424f.ibm.com>
Wed, 16 Oct 2024 12:01:21 +0000 (17:31 +0530)
Fixes: https://tracker.ceph.com/issues/68519
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
(cherry picked from commit e036fde7e4b03241e617cbb3ef8f19a703aae716)

src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.ts

index 1e5654b6578bfd5aab04f02242fbd330af8f188e..e397d28263bd52d524e015a7326fa038baafef11 100644 (file)
                    id="path"
                    data-testid="fs_path"
                    formControlName="path"
-                   [ngbTypeahead]="pathDataSource"
-                   (selectItem)="pathChangeHandler()"
-                   (blur)="pathChangeHandler()">
+                   [ngbTypeahead]="pathDataSource">
             <cd-help-text>
             <p i18n>A path in a CephFS file system.</p>
           </cd-help-text>
index e6f413f326b696ada861b9e31237c56d95d6a91b..341f690f13b7eb62e4ca63e266d21c8dd3b94d68 100644 (file)
@@ -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({