fix(xo-web/new-network): PIF should not be required (#4010)
Introduced by 7a2a88b7ad
Requiring a PIF prevented from creating private networks
This commit is contained in:
parent
008eb995ed
commit
312b33ae85
@ -4,6 +4,8 @@
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- [New network] PIF was wrongly required which prevented from creating a private network (PR [#4010](https://github.com/vatesfr/xen-orchestra/pull/4010))
|
||||
|
||||
### Released packages
|
||||
|
||||
- xo-server v5.37.0
|
||||
|
@ -92,7 +92,7 @@ const NewNetwork = decorate([
|
||||
description,
|
||||
mtu,
|
||||
name,
|
||||
pif: pif.id,
|
||||
pif: pif == null ? undefined : pif.id,
|
||||
pool: pool.id,
|
||||
vlan,
|
||||
})
|
||||
@ -160,7 +160,7 @@ const NewNetwork = decorate([
|
||||
multi={bonded}
|
||||
onChange={effects.onChangePif}
|
||||
predicate={pifPredicate}
|
||||
required
|
||||
required={bonded}
|
||||
value={bonded ? pifs : pif}
|
||||
/>
|
||||
<label>{_('newNetworkName')}</label>
|
||||
|
Loading…
Reference in New Issue
Block a user