Archived
2
0

fix client linter

This commit is contained in:
m1k1o 2021-02-13 12:31:13 +01:00
parent 61e6f62ff5
commit eddd59c49d

View File

@ -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,