Skip to content

Commit e036fde

Browse files
author
Dnyaneshwari
committed
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 <[email protected]>
1 parent 4301208 commit e036fde

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
[invalid]="nfsForm.controls.fsal.controls.user_id.invalid && (nfsForm.controls.fsal.controls.user_id.dirty)"
107107
[invalidText]="userIdError"
108108
[skeleton]="allRGWUsers === null"
109-
(valueChange)="pathChangeHandler()"
110109
i18n>
111110
<option *ngIf="allRGWUsers === null"
112111
value="">Loading...</option>
@@ -223,8 +222,6 @@
223222
name="path"
224223
formControlName="path"
225224
[ngbTypeahead]="pathDataSource"
226-
(selectItem)="pathChangeHandler()"
227-
(blur)="pathChangeHandler()"
228225
[invalid]="nfsForm.controls.path.invalid && (nfsForm.controls.path.dirty)">
229226
</cds-text-label>
230227
<ng-template #pathError>
@@ -259,8 +256,6 @@
259256
name="path"
260257
formControlName="path"
261258
[ngbTypeahead]="bucketDataSource"
262-
(selectItem)="pathChangeHandler()"
263-
(blur)="pathChangeHandler()"
264259
[invalid]="nfsForm.controls.path.invalid && (nfsForm.controls.path.dirty)">
265260
</cds-text-label>
266261
<ng-template #bucketPathError>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ export class NfsFormComponent extends CdForm implements OnInit {
434434
fs_name: this.selectedFsName
435435
}
436436
});
437-
this.volumeChangeHandler();
437+
this.getSubVolGrp(this.selectedFsName);
438438
}
439439
if (!_.isEmpty(this.selectedSubvolGroup)) {
440440
this.nfsForm.patchValue({

0 commit comments

Comments
 (0)