Display information about replied-to/edited status
This commit is contained in:
parent
a245379f43
commit
8a7f17ac9e
3 changed files with 48 additions and 9 deletions
|
|
@ -1,10 +1,12 @@
|
|||
import PostStatusForm from 'src/components/post_status_form/post_status_form.vue'
|
||||
import ConfirmModal from 'src/components/confirm_modal/confirm_modal.vue'
|
||||
import StatusContent from 'src/components/status_content/status_content.vue'
|
||||
|
||||
const Draft = {
|
||||
components: {
|
||||
PostStatusForm,
|
||||
ConfirmModal
|
||||
ConfirmModal,
|
||||
StatusContent
|
||||
},
|
||||
props: {
|
||||
draft: {
|
||||
|
|
@ -33,6 +35,9 @@ const Draft = {
|
|||
draftId: this.draft.id,
|
||||
...this.relAttrs
|
||||
}
|
||||
},
|
||||
refStatus () {
|
||||
return this.draft.refId ? this.$store.state.statuses.allStatusesObject[this.draft.refId] : undefined
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue