maybe/get
This commit is contained in:
parent
4b3ad72b31
commit
b817b97d1a
1 changed files with 1 additions and 4 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue