mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-14 06:01:04 +00:00
Hotfix pins
This commit is contained in:
@@ -119,6 +119,13 @@ export class Node {
|
||||
}
|
||||
}
|
||||
|
||||
public setPinned(pinned: boolean) {
|
||||
if (this.pinned !== pinned) {
|
||||
this.pinned = pinned;
|
||||
this.trigger();
|
||||
}
|
||||
}
|
||||
|
||||
public subscribe(handler: (node: Node) => void) {
|
||||
this.subscribtions.add(handler);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user