Skip to content

Commit

Permalink
e2e fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vitPinchuk committed Feb 2, 2024
1 parent 6d8e618 commit 861312e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/DatasetEditor/DatasetEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ export const DatasetEditor: React.FC<Props> = ({ value, onChange, data }) => {
<div className={styles.column}>
<IconButton
name="trash-alt"
aria-label="Remove"
onClick={() =>
onChangeItems(
items.filter(
Expand Down
2 changes: 1 addition & 1 deletion src/components/EchartsEditor/EchartsEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const EchartsEditor: React.FC<Props> = ({ value, onChange, context, item
<CodeEditor
language={CodeLanguage.JAVASCRIPT}
showLineNumbers={true}
showMiniMap={(value && value.length) > 100}
showMiniMap={!!value && value.length > 100}
value={value}
height={context.options?.editor.height}
onBlur={onChange}
Expand Down

0 comments on commit 861312e

Please sign in to comment.