2022-05-05 03:57:37 +00:00
|
|
|
<template>
|
|
|
|
<dialog-base>
|
|
|
|
<template v-slot:header>
|
|
|
|
<v-btn icon @click="$emit('changeState', false)">
|
2022-05-05 05:32:02 +00:00
|
|
|
<v-icon>mdi-arrow-left</v-icon>
|
2022-05-05 03:57:37 +00:00
|
|
|
</v-btn>
|
|
|
|
<v-toolbar-title>
|
|
|
|
<strong>Replies</strong>
|
|
|
|
</v-toolbar-title>
|
|
|
|
<v-spacer></v-spacer>
|
|
|
|
<v-btn icon @click="$emit('closeComments')">
|
|
|
|
<v-icon>mdi-close</v-icon>
|
|
|
|
</v-btn>
|
|
|
|
</template>
|
|
|
|
<template>
|
|
|
|
<comment-thread-renderer :comment="parentComment" />
|
|
|
|
<v-divider></v-divider>
|
2022-05-07 05:05:45 +00:00
|
|
|
<comment-thread-renderer
|
|
|
|
v-for="index in 10"
|
|
|
|
v-bind:key="index"
|
|
|
|
:comment="parentComment"
|
|
|
|
/>
|
2022-05-05 03:57:37 +00:00
|
|
|
</template>
|
|
|
|
</dialog-base>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import dialogBase from "~/components/dialogBase.vue";
|
|
|
|
import commentsHeaderRenderer from "~/components/Comments/commentsHeaderRenderer.vue";
|
|
|
|
import commentThreadRenderer from "~/components/Comments/commentThreadRenderer.vue";
|
|
|
|
import continuationItemRenderer from "~/components/observer.vue";
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
dialogBase,
|
|
|
|
commentsHeaderRenderer,
|
|
|
|
commentThreadRenderer,
|
|
|
|
continuationItemRenderer,
|
|
|
|
},
|
2022-12-27 16:44:51 +00:00
|
|
|
model: {
|
|
|
|
prop: "showReplies",
|
|
|
|
event: "changeState",
|
|
|
|
},
|
|
|
|
props: ["defaultContinuation", "parentComment", "showReplies"],
|
2022-05-05 03:57:37 +00:00
|
|
|
};
|
2022-05-05 05:32:02 +00:00
|
|
|
</script>
|