(address: string)
| 418 | } |
| 419 | |
| 420 | public removeCustomServer(address: string): CustomServer[] { |
| 421 | this.customServers = this.customServers.filter(s => s.address !== address); |
| 422 | this.saveCustomServersToStorage(); |
| 423 | this.removeServer(address); |
| 424 | |
| 425 | return [...this.customServers]; |
| 426 | } |
| 427 | |
| 428 | public toggleCustomServer(address: string): CustomServer[] { |
| 429 | const server = this.customServers.find(s => s.address === address); |
no test coverage detected