mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 19:51:00 +00:00
(improvement)(chat-sdk) show table when data length is 1 (#1755)
This commit is contained in:
@@ -111,6 +111,7 @@ const ChatMsg: React.FC<Props> = ({
|
||||
(categoryField.length > 1 ||
|
||||
queryMode === 'TAG_DETAIL' ||
|
||||
queryMode === 'ENTITY_DIMENSION' ||
|
||||
dataSource?.length === 1 ||
|
||||
(categoryField.length === 1 && metricFields.length === 0));
|
||||
|
||||
if (isTable) {
|
||||
|
||||
Reference in New Issue
Block a user