Fix missing username conversions (#3922)

This commit is contained in:
MeiMei 2019-01-19 08:28:46 +09:00 committed by syuilo
parent fa051df381
commit 160f424466
7 changed files with 21 additions and 20 deletions

View file

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