Merge pull request #60291 from rhcs-dashboard/NFS-subvol-list

mgr/dashboard: The subvolumes are missing from the dropdown menu on the "Create NFS export" page

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
This commit is contained in:
Nizamudeen A 2024-10-16 12:10:32 +05:30 committed by GitHub
commit ab9cb6059f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 6 deletions

View File

@ -106,7 +106,6 @@
[invalid]="nfsForm.controls.fsal.controls.user_id.invalid && (nfsForm.controls.fsal.controls.user_id.dirty)"
[invalidText]="userIdError"
[skeleton]="allRGWUsers === null"
(valueChange)="pathChangeHandler()"
i18n>
<option *ngIf="allRGWUsers === null"
value="">Loading...</option>
@ -223,8 +222,6 @@
name="path"
formControlName="path"
[ngbTypeahead]="pathDataSource"
(selectItem)="pathChangeHandler()"
(blur)="pathChangeHandler()"
[invalid]="nfsForm.controls.path.invalid && (nfsForm.controls.path.dirty)">
</cds-text-label>
<ng-template #pathError>
@ -259,8 +256,6 @@
name="path"
formControlName="path"
[ngbTypeahead]="bucketDataSource"
(selectItem)="pathChangeHandler()"
(blur)="pathChangeHandler()"
[invalid]="nfsForm.controls.path.invalid && (nfsForm.controls.path.dirty)">
</cds-text-label>
<ng-template #bucketPathError>

View File

@ -434,7 +434,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({