feat: add search-trendings in sidebar filter options

This commit is contained in:
Whalko 2025-06-22 10:40:19 +08:00 committed by GitHub
parent 0e53afcf15
commit 809e74cda0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,10 +74,10 @@ const sideCards: { [id: number]: SideCardType } = {
className: 'profile',
displayName: '个人资料',
},
1: {
className: 'following-tags',
displayName: '话题',
},
// 1: {
// className: 'following-tags',
// displayName: '',
// },
2: {
className: 'notice',
displayName: '公告栏',
@ -98,6 +98,10 @@ const sideCards: { [id: number]: SideCardType } = {
className: 'compose',
displayName: '发布动态',
},
7: {
className: 'search-trendings',
displayName: '热搜',
},
}
if (getComponentSettings('extendFeedsLive').enabled) {
delete sideCards[3]