mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-26 00:46:52 +08:00
### What problem does this PR solve? Feat: Display the knowledge graph on the knowledge base page #4543 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -41,7 +41,7 @@ const KnowledgeCard = ({ item }: IProps) => {
|
||||
return (
|
||||
<Badge.Ribbon
|
||||
text={item?.nickname}
|
||||
color={userInfo.nickname === item.nickname ? '#1677ff' : 'pink'}
|
||||
color={userInfo?.nickname === item?.nickname ? '#1677ff' : 'pink'}
|
||||
className={classNames(styles.ribbon, {
|
||||
[styles.hideRibbon]: item.permission !== 'team',
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user