client/posts: fix mass tag case sensitivity
Mass tagging with `TAG` marked posts tagged with `tag` as untagged.
This commit is contained in:
parent
39973386c6
commit
b44b2aef7e
1 changed files with 3 additions and 1 deletions
|
@ -79,7 +79,9 @@ class Post extends events.EventTarget {
|
|||
}
|
||||
|
||||
isTaggedWith(tagName) {
|
||||
return this._tags.map(s => s.toLowerCase()).includes(tagName);
|
||||
return this._tags
|
||||
.map(s => s.toLowerCase())
|
||||
.includes(tagName.toLowerCase());
|
||||
}
|
||||
|
||||
addTag(tagName, addImplications) {
|
||||
|
|
Loading…
Reference in a new issue