mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-06-09 11:39:31 +08:00
1.修复置顶图标不显示
2.修复取消置顶图标不显示
This commit is contained in:
@@ -366,7 +366,11 @@ const changeLogIcon = (l) => {
|
|||||||
return 'unlock'
|
return 'unlock'
|
||||||
}
|
}
|
||||||
} else if (l.type === 'PINNED') {
|
} else if (l.type === 'PINNED') {
|
||||||
return 'pin-icon'
|
if(l.newPinnedAt){
|
||||||
|
return 'pin'
|
||||||
|
}else{
|
||||||
|
return 'clear-icon'
|
||||||
|
}
|
||||||
} else if (l.type === 'FEATURED') {
|
} else if (l.type === 'FEATURED') {
|
||||||
if (l.newFeatured) {
|
if (l.newFeatured) {
|
||||||
return 'star'
|
return 'star'
|
||||||
|
|||||||
Reference in New Issue
Block a user