#433: do not remove the reply dialog
This commit is contained in:
parent
09736691ea
commit
4f455eefe5
5 changed files with 41 additions and 12 deletions
|
@ -30,7 +30,8 @@ const conversation = {
|
|||
},
|
||||
props: [
|
||||
'statusoid',
|
||||
'collapsable'
|
||||
'collapsable',
|
||||
'replying'
|
||||
],
|
||||
computed: {
|
||||
status () {
|
||||
|
@ -102,6 +103,9 @@ const conversation = {
|
|||
},
|
||||
setHighlight (id) {
|
||||
this.highlight = id
|
||||
},
|
||||
toggleReplying () {
|
||||
this.$emit('toggleReplying')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,14 +10,19 @@
|
|||
<div class="timeline">
|
||||
<status
|
||||
v-for="status in conversation"
|
||||
@goto="setHighlight" :key="status.id"
|
||||
:inlineExpanded="collapsable" :statusoid="status"
|
||||
:expandable='false' :focused="focused(status.id)"
|
||||
@goto="setHighlight"
|
||||
@toggleReplying="toggleReplying"
|
||||
:replying="replying && status.id === statusId"
|
||||
:key="status.id"
|
||||
:inlineExpanded="collapsable"
|
||||
:statusoid="status"
|
||||
:expandable='false'
|
||||
:focused="focused(status.id)"
|
||||
:inConversation='true'
|
||||
:highlight="highlight"
|
||||
:replies="getReplies(status.id)"
|
||||
class="status-fadein">
|
||||
</status>
|
||||
class="status-fadein"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue