Improve organization for metrics insights

- Organization insight now display actor usernames
- Comments are rendered as markdown
This commit is contained in:
lowlighter
2021-04-14 13:56:09 +02:00
parent 4892d691b0
commit 4c46da8cc5
6 changed files with 101 additions and 70 deletions

View File

@@ -71,6 +71,11 @@
finally {
this.pending = false
}
},
markdown(content) {
const escaped = document.createElement("textarea")
escaped.textContent = content
return marked(escaped.innerHTML)
}
},
//Computed properties