Commit ef4fe549 authored by Markus Opolka's avatar Markus Opolka
Browse files

Fix bug in comment display

parent 2f044c37
...@@ -109,6 +109,11 @@ export default { ...@@ -109,6 +109,11 @@ export default {
}, },
formatText (text) { formatText (text) {
// Remove [Stuff] from text // Remove [Stuff] from text
if (text instanceof Array) {
text = text.join(' ')
}
if (!this.showComments) { if (!this.showComments) {
text = text.replace(/\[.*\]/, '') text = text.replace(/\[.*\]/, '')
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment