mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-12 12:37:55 +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: {
|
dateInfo: {
|
||||||
...chatContext.dateInfo,
|
...chatContext.dateInfo,
|
||||||
dateMode: dateModeValue,
|
dateMode: dateModeValue,
|
||||||
unit: currentDateOption || chatContext.dateInfo.unit,
|
unit: currentDateOption || chatContext.dateInfo?.unit,
|
||||||
},
|
},
|
||||||
dimensions: [
|
dimensions: [
|
||||||
...(chatContext.dimensions || []),
|
...(chatContext.dimensions || []),
|
||||||
@@ -310,7 +310,7 @@ const ChatMsg: React.FC<Props> = ({
|
|||||||
dateInfo: {
|
dateInfo: {
|
||||||
...chatContext.dateInfo,
|
...chatContext.dateInfo,
|
||||||
dateMode: dateModeValue,
|
dateMode: dateModeValue,
|
||||||
unit: currentDateOption || chatContext.dateInfo.unit,
|
unit: currentDateOption || chatContext.dateInfo?.unit,
|
||||||
},
|
},
|
||||||
dimensions: drillDownDimension
|
dimensions: drillDownDimension
|
||||||
? [...(chatContext.dimensions || []), drillDownDimension]
|
? [...(chatContext.dimensions || []), drillDownDimension]
|
||||||
|
|||||||
Reference in New Issue
Block a user