update UI when hash changes
This commit is contained in:
@@ -150,4 +150,11 @@ export class Link {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
equals(link) {
|
||||
return link &&
|
||||
link.identifier === this.identifier &&
|
||||
this.servers.length === link.servers.length &&
|
||||
this.servers.every((s, i) => link.servers[i] === s);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user