mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
fix client linter
This commit is contained in:
parent
61e6f62ff5
commit
eddd59c49d
@ -49,9 +49,9 @@ export const mutations = mutationTree(state, {
|
|||||||
},
|
},
|
||||||
addMember(state, member: Member) {
|
addMember(state, member: Member) {
|
||||||
// remove html tags
|
// remove html tags
|
||||||
let tmp = document.createElement("div");
|
let tmp = document.createElement('div')
|
||||||
tmp.innerHTML = member.displayname;
|
tmp.innerHTML = member.displayname
|
||||||
member.displayname = tmp.textContent || tmp.innerText || "";
|
member.displayname = tmp.textContent || tmp.innerText || ''
|
||||||
|
|
||||||
state.members = {
|
state.members = {
|
||||||
...state.members,
|
...state.members,
|
||||||
|
Loading…
Reference in New Issue
Block a user