Fix double escape of user-status in Dashboard widget

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
Georg Ehrke 2020-08-27 10:42:48 +02:00
parent c1bba2d46a
commit 67bbfda481
No known key found for this signature in database
GPG Key ID: 9D98FD9380A1CB43
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -68,7 +68,7 @@ export default {
subText = this.t('user_status', '{status}, {timestamp}', { subText = this.t('user_status', '{status}, {timestamp}', {
status, status,
timestamp: moment(item.timestamp, 'X').fromNow(), timestamp: moment(item.timestamp, 'X').fromNow(),
}) }, null, { escape: false, sanitize: false })
} else { } else {
subText = status subText = status
} }