(address: string)
| 399 | } |
| 400 | |
| 401 | public removeCustomServer(address: string): CustomServer[] { |
| 402 | this.customServers = this.customServers.filter(s => s.address !== address); |
| 403 | this.saveCustomServersToStorage(); |
| 404 | this.removeServer(address); |
| 405 | |
| 406 | return [...this.customServers]; |
| 407 | } |
| 408 | |
| 409 | public toggleCustomServer(address: string): CustomServer[] { |
| 410 | const server = this.customServers.find(s => s.address === address); |
no test coverage detected