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
|
@ -79,7 +79,9 @@ class Post extends events.EventTarget {
|
||||||
}
|
}
|
||||||
|
|
||||||
isTaggedWith(tagName) {
|
isTaggedWith(tagName) {
|
||||||
return this._tags.map(s => s.toLowerCase()).includes(tagName);
|
return this._tags
|
||||||
|
.map(s => s.toLowerCase())
|
||||||
|
.includes(tagName.toLowerCase());
|
||||||
}
|
}
|
||||||
|
|
||||||
addTag(tagName, addImplications) {
|
addTag(tagName, addImplications) {
|
||||||
|
|
Loading…
Reference in New Issue