Add more stuff to client

This commit is contained in:
Jon Staab
2026-05-05 09:15:31 -07:00
parent e0e9ad5834
commit 28339976b9
12 changed files with 843 additions and 19 deletions
+6 -1
View File
@@ -41,10 +41,15 @@ export class WrapManager extends Emitter {
// Adding/importing
load = (wrapItems: WrapItem[]) => {
clear = () => {
this._wrapIndex.clear()
this._rumorIndex.clear()
this._recipientIndex.clear()
this.emit("load")
}
load = (wrapItems: WrapItem[]) => {
this.clear()
for (const wrapItem of wrapItems) {
this._add(wrapItem)