Compare commits
4 commits
ade44717e4
...
0984fc38c0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0984fc38c0 | ||
|
|
afce78a597 | ||
|
|
349f3d3b18 | ||
|
|
b817b97d1a |
2 changed files with 4 additions and 5 deletions
|
|
@ -358,9 +358,6 @@ const conversation = {
|
|||
canDive() {
|
||||
return this.isTreeView && this.isExpanded
|
||||
},
|
||||
maybeHighlight() {
|
||||
return this.isExpanded ? this.highlight : null
|
||||
},
|
||||
...mapPiniaState(useMergedConfigStore, ['mergedConfig']),
|
||||
...mapState({
|
||||
mastoUserSocketStatus: (state) => state.api.mastoUserSocketStatus,
|
||||
|
|
@ -435,7 +432,7 @@ const conversation = {
|
|||
getReplies(id) {
|
||||
return this.replies[id] || []
|
||||
},
|
||||
getHighlight() {
|
||||
maybeHighlight() {
|
||||
return this.isExpanded ? this.highlight : null
|
||||
},
|
||||
setHighlight(id) {
|
||||
|
|
|
|||
|
|
@ -883,9 +883,11 @@ const statuses = {
|
|||
'addNewUsers',
|
||||
data.statuses.map((s) => s.user).filter((u) => u),
|
||||
)
|
||||
data.statuses = store.dispatch('addNewStatuses', {
|
||||
store.commit('addNewStatuses', {
|
||||
statuses: data.statuses,
|
||||
})
|
||||
|
||||
data.statuses = data.statuses.map((s) => store.state.allStatusesObject[s.id])
|
||||
return data
|
||||
})
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue