diff --git a/src/client/app/common/views/deck/deck.note-column.vue b/src/client/app/common/views/deck/deck.note-column.vue
index ca798707b..ddc3860d3 100644
--- a/src/client/app/common/views/deck/deck.note-column.vue
+++ b/src/client/app/common/views/deck/deck.note-column.vue
@@ -11,7 +11,7 @@
{{ $t('@.view-on-remote') }}
-
+
@@ -20,13 +20,11 @@
import Vue from 'vue';
import i18n from '../../../i18n';
import XColumn from './deck.column.vue';
-import XNotes from './deck.notes.vue';
export default Vue.extend({
i18n: i18n(),
components: {
XColumn,
- XNotes,
},
data() {
diff --git a/src/client/app/desktop/views/components/note.vue b/src/client/app/desktop/views/components/note.vue
index 90454dbad..9dc831db7 100644
--- a/src/client/app/desktop/views/components/note.vue
+++ b/src/client/app/desktop/views/components/note.vue
@@ -7,9 +7,7 @@
v-hotkey="keymap"
:title="title"
>
-
-
-
+
@@ -69,9 +67,7 @@
{{ $t('deleted') }}
-
-
-
+
diff --git a/src/client/app/mobile/views/components/note.vue b/src/client/app/mobile/views/components/note.vue
index 1d056c126..de556f170 100644
--- a/src/client/app/mobile/views/components/note.vue
+++ b/src/client/app/mobile/views/components/note.vue
@@ -6,6 +6,7 @@
:class="{ renote: isRenote, smart: $store.state.device.postStyle == 'smart', mini: narrow }"
v-hotkey="keymap"
>
+
@@ -62,6 +63,7 @@
{{ $t('deleted') }}
+
@@ -91,6 +93,11 @@ export default Vue.extend({
type: Object,
required: true
},
+ detail: {
+ type: Boolean,
+ required: false,
+ default: false
+ },
},
inject: {
@@ -98,6 +105,30 @@ export default Vue.extend({
default: false
}
},
+
+ data() {
+ return {
+ conversation: [],
+ replies: []
+ };
+ },
+
+ created() {
+ if (this.detail) {
+ this.$root.api('notes/replies', {
+ noteId: this.appearNote.id,
+ limit: 8
+ }).then(replies => {
+ this.replies = replies;
+ });
+
+ this.$root.api('notes/conversation', {
+ noteId: this.appearNote.replyId
+ }).then(conversation => {
+ this.conversation = conversation.reverse();
+ });
+ }
+ }
});