From 861312ebcc4c884aa350de708a5baffd4d2aeb0f Mon Sep 17 00:00:00 2001 From: Vitali Pinchuk Date: Fri, 2 Feb 2024 14:13:05 +0300 Subject: [PATCH] e2e fixes --- src/components/DatasetEditor/DatasetEditor.tsx | 1 + src/components/EchartsEditor/EchartsEditor.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/DatasetEditor/DatasetEditor.tsx b/src/components/DatasetEditor/DatasetEditor.tsx index 729fe29..f7d95f5 100644 --- a/src/components/DatasetEditor/DatasetEditor.tsx +++ b/src/components/DatasetEditor/DatasetEditor.tsx @@ -163,6 +163,7 @@ export const DatasetEditor: React.FC = ({ value, onChange, data }) => {
onChangeItems( items.filter( diff --git a/src/components/EchartsEditor/EchartsEditor.tsx b/src/components/EchartsEditor/EchartsEditor.tsx index 40348a6..08f7040 100644 --- a/src/components/EchartsEditor/EchartsEditor.tsx +++ b/src/components/EchartsEditor/EchartsEditor.tsx @@ -111,7 +111,7 @@ export const EchartsEditor: React.FC = ({ value, onChange, context, item 100} + showMiniMap={!!value && value.length > 100} value={value} height={context.options?.editor.height} onBlur={onChange}