mirror of
https://github.com/h44z/wg-portal.git
synced 2026-11-20 20:53:40 +01:00
PeerDefRoutingTable is a string on the backend, but the peer defaults input used type="number", so Vue sent a JSON number and saving the interface failed with "cannot unmarshal number into Go struct field Interface.PeerDefRoutingTable of type string". It also made the value "off" impossible to enter. Use type="text" like the interface routing table field. Fixes #769 Signed-off-by: Jason Wang <vulragrag@gmail.com>