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,
|
||||||
|
Reference in New Issue
Block a user