fix and refactor the way status focusing work
This commit is contained in:
parent
6c9b4a48d8
commit
ddc126f696
6 changed files with 32 additions and 55 deletions
|
|
@ -8,9 +8,8 @@
|
|||
:inline-expanded="collapsable && isExpanded"
|
||||
:expandable="!isExpanded"
|
||||
:show-pinned="pinnedStatusIdsObject && pinnedStatusIdsObject[status.id]"
|
||||
:focused="isFocusedFunction(status.id)"
|
||||
:in-conversation="isExpanded"
|
||||
:highlight="highlight === status.id"
|
||||
:focused="focused === status.id || focused === status.retweeted_status?.id"
|
||||
:in-profile="inProfile"
|
||||
:profile-user-id="profileUserId"
|
||||
class="conversation-status conversation-status-treeview status-fadein panel-body"
|
||||
|
|
@ -42,10 +41,8 @@
|
|||
:pinned-status-ids-object="pinnedStatusIdsObject"
|
||||
:profile-user-id="profileUserId"
|
||||
|
||||
:is-focused-function="isFocusedFunction"
|
||||
:get-replies="getReplies"
|
||||
:highlight="highlight"
|
||||
:set-highlight="setHighlight"
|
||||
:focused="focused"
|
||||
:toggle-expanded="toggleExpanded"
|
||||
|
||||
:simple="simple"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue