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) {
|
||||
// remove html tags
|
||||
let tmp = document.createElement("div");
|
||||
tmp.innerHTML = member.displayname;
|
||||
member.displayname = tmp.textContent || tmp.innerText || "";
|
||||
let tmp = document.createElement('div')
|
||||
tmp.innerHTML = member.displayname
|
||||
member.displayname = tmp.textContent || tmp.innerText || ''
|
||||
|
||||
state.members = {
|
||||
...state.members,
|
||||
|
Reference in New Issue
Block a user