Fix missing username conversions (#3922)
This commit is contained in:
parent
fa051df381
commit
160f424466
7 changed files with 21 additions and 20 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<x-column>
|
||||
<span slot="header">
|
||||
<fa :icon="['far', 'comment-alt']"/><span>{{ title }}</span>
|
||||
<fa :icon="['far', 'comment-alt']"/><mk-user-name :user="note.user" v-if="note"/>
|
||||
</span>
|
||||
|
||||
<div class="rvtscbadixhhbsczoorqoaygovdeecsx" v-if="note">
|
||||
|
|
@ -45,12 +45,6 @@ export default Vue.extend({
|
|||
};
|
||||
},
|
||||
|
||||
computed: {
|
||||
title(): string {
|
||||
return this.note ? Vue.filter('userName')(this.note.user) : '';
|
||||
}
|
||||
},
|
||||
|
||||
created() {
|
||||
this.$root.api('notes/show', { noteId: this.noteId }).then(note => {
|
||||
this.note = note;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue