fix: fix the bug of favorite friends hidding (#1104)

* feat: favorite friends divide by different favorite group

* fix: make the update of dividing by favorite groups compatible with previous features

* fix: fix the bug of favorite friends

* fix: fix the bug of favorite friends

* fix: fix the bug of favorite friends hidding

* fix: fix the vipFriendsDivideByGroup dataSource, now it was couputed by others, no longer managed by the add favorite, delete favorite etc handler

* i18n: chinese translation about split favorite friends

* fix: fix the duplicate friend show in a tab
This commit is contained in:
Vivi
2025-01-27 04:25:30 +08:00
committed by GitHub
parent 2a24a2a2ab
commit 212934f08c
3 changed files with 34 additions and 135 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ mixin friendsListSidebar
i.el-icon-arrow-right(:class='{ rotate: isVIPFriends }')
span(style='margin-left: 5px') {{ $t('side_panel.favorite') }} ― {{ vipFriendsByGroupStatus.length }}
div(v-show='isVIPFriends')
template(v-if='isSidebarDivideByFriendGroup && localFavoriteFriendsGroups.length')
template(v-if='isSidebarDivideByFriendGroup')
div(v-for='(group, idx) in vipFriendsDivideByGroup' :key='idx')
div(style='margin-bottom: 3px')
span.extra {{ group.displayName }}