Skip to content

Commit

Permalink
fix expiry missing
Browse files Browse the repository at this point in the history
  • Loading branch information
BeryJu committed Nov 25, 2024
1 parent a96c2b8 commit 50db6e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/pages/dhcp/DHCPLeaseForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export class DHCPLeaseForm extends ModelForm<DhcpAPILease, string> {
if (!data.addressLeaseTime) {
data.addressLeaseTime = "0";
}
data.expiry = -1;
if (this.instance && this.needsRecreate(data)) {
await new RolesDhcpApi(DEFAULT_CONFIG).dhcpDeleteLeases({
scope: this.scope || "",
Expand Down

0 comments on commit 50db6e6

Please sign in to comment.