[improvement](webapp) optimize agent background color and remove entity metric tip (#54)

* [improvement](webapp) optimize agent background color and remove entity metric tip
This commit is contained in:
williamhliu
2023-09-04 16:26:58 +08:00
committed by GitHub
parent 90e62ddccc
commit f3f84ab9af
4 changed files with 14 additions and 13 deletions

View File

@@ -166,7 +166,7 @@ const ParseTip: React.FC<Props> = ({
<div className={itemValueClass}>{modelName}</div>
</div>
)}
{queryMode !== 'ENTITY_ID' && metric && (
{!queryMode.includes('ENTITY') && metric && (
<div className={`${prefixCls}-tip-item`}>
<div className={`${prefixCls}-tip-item-name`}></div>
<div className={itemValueClass}>{metric.name}</div>