Skip to content

Commit

Permalink
Set transfers to null if missing (#9984)
Browse files Browse the repository at this point in the history
Co-authored-by: Boris Vasilenko <bvasilenko@ixsystems.com>
  • Loading branch information
bvasilenko and Boris Vasilenko authored Apr 24, 2024
1 parent 77efac0 commit fcd9376
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,10 @@ export class CloudsyncFormComponent {
value.bwlimit = this.handleBwlimit(value.bwlimit);
}

if (value.transfers === '') {
value.transfers = null;
}

if (!this.formGroup.valid) {
return;
}
Expand Down

0 comments on commit fcd9376

Please sign in to comment.