Fix unable to configure Ethernet Switch. Fixes #1530
Some checks failed
Build / build (push) Has been cancelled

This commit is contained in:
grossmj 2024-12-19 18:16:41 +07:00
parent 99c6502a65
commit 608fcfd04e
No known key found for this signature in database
GPG Key ID: 1E7DD6DBB53FF3D7

View File

@ -30,6 +30,7 @@ export class PortsComponent implements OnInit {
} }
onAdd() { onAdd() {
this.newPort.name = "Ethernet" + this.newPort.port_number;
this.ethernetPorts.push(this.newPort); this.ethernetPorts.push(this.newPort);
this.newPort = { this.newPort = {