Skip to content

Commit

Permalink
fixup! feat(OpenConversationsList): expose description
Browse files Browse the repository at this point in the history
  • Loading branch information
DorraJaouad committed Apr 30, 2024
1 parent 8c77926 commit 776c66a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,12 @@ export default {
setup(props) {
const { item, isSearchResult } = toRefs(props)
const { counterType, conversationInformation } = useConversationInfo({ item, isSearchResult, exposeMessages: true, exposeDescription: true })
const { counterType, conversationInformation } = useConversationInfo({
item,
isSearchResult,
exposeMessages: !isSearchResult.value,
exposeDescription: isSearchResult.value
})
return {
counterType,
Expand Down

0 comments on commit 776c66a

Please sign in to comment.