chore: Prettified Code
[ci skip]
This commit is contained in:
parent
d5add5071d
commit
e4ee416183
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ export default class RAOP {
|
|||
// console.log(this.castDevices.findIndex((item: any) => {return (item.name == host.replace(".local","") && item.port == port )}))
|
||||
if (
|
||||
this.castDevices.findIndex((item: any) => {
|
||||
return item != null && item.name == (host ?? "Unknown").replace(".local", "") && item.port == port && (item.host == (addresses ? addresses[0] : ""));
|
||||
return item != null && item.name == (host ?? "Unknown").replace(".local", "") && item.port == port && item.host == (addresses ? addresses[0] : "");
|
||||
}) == -1
|
||||
) {
|
||||
this.castDevices.push({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue