maybe/get

This commit is contained in:
Henry Jameson 2026-06-30 07:15:21 +03:00
commit b817b97d1a

View file

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