mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 19:51:00 +00:00
(fix)(chat)Fixed level 2 drilldown dimension error (#2276)
This commit is contained in:
@@ -293,7 +293,7 @@ const ChatMsg: React.FC<Props> = ({
|
||||
dateInfo: {
|
||||
...chatContext.dateInfo,
|
||||
dateMode: dateModeValue,
|
||||
unit: currentDateOption || chatContext.dateInfo.unit,
|
||||
unit: currentDateOption || chatContext.dateInfo?.unit,
|
||||
},
|
||||
dimensions: [
|
||||
...(chatContext.dimensions || []),
|
||||
@@ -310,7 +310,7 @@ const ChatMsg: React.FC<Props> = ({
|
||||
dateInfo: {
|
||||
...chatContext.dateInfo,
|
||||
dateMode: dateModeValue,
|
||||
unit: currentDateOption || chatContext.dateInfo.unit,
|
||||
unit: currentDateOption || chatContext.dateInfo?.unit,
|
||||
},
|
||||
dimensions: drillDownDimension
|
||||
? [...(chatContext.dimensions || []), drillDownDimension]
|
||||
|
||||
Reference in New Issue
Block a user