diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-09-05 19:32:46 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-09-05 19:32:46 +0900 |
| commit | a1b82e97230eab994c06fc7c902e71539664d3d7 (patch) | |
| tree | 18501f85f8d406777a3c11ef1d938657c256b32f /src/client/app/desktop/views/components/notes.note.vue | |
| parent | :art: (diff) | |
| download | misskey-a1b82e97230eab994c06fc7c902e71539664d3d7.tar.gz misskey-a1b82e97230eab994c06fc7c902e71539664d3d7.tar.bz2 misskey-a1b82e97230eab994c06fc7c902e71539664d3d7.zip | |
#2620
Diffstat (limited to 'src/client/app/desktop/views/components/notes.note.vue')
| -rw-r--r-- | src/client/app/desktop/views/components/notes.note.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/app/desktop/views/components/notes.note.vue b/src/client/app/desktop/views/components/notes.note.vue index 7592ae3905..1d6b2048ba 100644 --- a/src/client/app/desktop/views/components/notes.note.vue +++ b/src/client/app/desktop/views/components/notes.note.vue @@ -28,8 +28,8 @@ <misskey-flavored-markdown v-if="p.text" :text="p.text" :i="$store.state.i" :class="$style.text"/> <a class="rp" v-if="p.renote">RP:</a> </div> - <div class="media" v-if="p.media.length > 0"> - <mk-media-list :media-list="p.media"/> + <div class="files" v-if="p.files.length > 0"> + <mk-media-list :media-list="p.files"/> </div> <mk-poll v-if="p.poll" :note="p" ref="pollViewer"/> <a class="location" v-if="p.geo" :href="`https://maps.google.com/maps?q=${p.geo.coordinates[1]},${p.geo.coordinates[0]}`" target="_blank">%fa:map-marker-alt% 位置情報</a> @@ -110,7 +110,7 @@ export default Vue.extend({ isRenote(): boolean { return (this.note.renote && this.note.text == null && - this.note.mediaIds.length == 0 && + this.note.fileIds.length == 0 && this.note.poll == null); }, |