Skip to content

Commit

Permalink
Set transfers to null if missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Vasilenko committed Apr 22, 2024
1 parent dc19b80 commit a06d554
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 a06d554

Please sign in to comment.