Compare commits

..

No commits in common. "0984fc38c07516a580277be359b79cdadfec30a4" and "ade44717e4de4a41c9fcad4193e7aceb9916e6a7" have entirely different histories.

2 changed files with 5 additions and 4 deletions

View file

@ -358,6 +358,9 @@ const conversation = {
canDive() {
return this.isTreeView && this.isExpanded
},
maybeHighlight() {
return this.isExpanded ? this.highlight : null
},
...mapPiniaState(useMergedConfigStore, ['mergedConfig']),
...mapState({
mastoUserSocketStatus: (state) => state.api.mastoUserSocketStatus,
@ -432,7 +435,7 @@ const conversation = {
getReplies(id) {
return this.replies[id] || []
},
maybeHighlight() {
getHighlight() {
return this.isExpanded ? this.highlight : null
},
setHighlight(id) {

View file

@ -883,11 +883,9 @@ const statuses = {
'addNewUsers',
data.statuses.map((s) => s.user).filter((u) => u),
)
store.commit('addNewStatuses', {
data.statuses = store.dispatch('addNewStatuses', {
statuses: data.statuses,
})
data.statuses = data.statuses.map((s) => store.state.allStatusesObject[s.id])
return data
})
},