Skip to content

Commit

Permalink
Merge pull request #10008 from nextcloud/fix/remove-unused-isActive-prop
Browse files Browse the repository at this point in the history
fix(LeftSidebar): remove unused NcListItem.isActive
  • Loading branch information
ShGKme authored Jul 18, 2023
2 parents 74de8ef + 7ef4109 commit 13c99ab
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/components/LeftSidebar/ConversationsList/Conversation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
:class="{'unread-mention-conversation': item.unreadMention}"
:anchor-id="`conversation_${item.token}`"
:actions-aria-label="t('spreed', 'Conversation actions')"
:active="isActive"
:to="to"
:bold="!!item.unreadMessages"
:counter-number="item.unreadMessages"
Expand Down Expand Up @@ -326,14 +325,6 @@ export default {
}
: ''
},
isActive() {
if (!this.isSearchResult) {
return this.$store.getters.getToken() === this.to.params.token
} else {
return false
}
},
},
// TODO: move the implementation to @nextcloud-vue/NcListItem
Expand Down

0 comments on commit 13c99ab

Please sign in to comment.