mirror of
https://github.com/koloml/philomena-tagging-assistant.git
synced 2026-11-07 16:18:19 +00:00
Fix incorrect methods used on sets
This commit is contained in:
1 parent
941d33bb66
commit
f12e8f17b2
1 file changed
+2
-2
@@ -136,7 +136,7 @@ export class MaintenancePopup extends BaseComponent {
|
||||
if (isToBeRemoved) {
|
||||
this.#tagsToRemove.add(tagName);
|
||||
} else {
|
||||
this.#tagsToRemove.remove(tagName);
|
||||
this.#tagsToRemove.delete(tagName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -146,7 +146,7 @@ export class MaintenancePopup extends BaseComponent {
|
||||
if (isToBeAdded) {
|
||||
this.#tagsToAdd.add(tagName);
|
||||
} else {
|
||||
this.#tagsToAdd.remove(tagName);
|
||||
this.#tagsToAdd.delete(tagName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user