Skip to content

Commit 1284555

Browse files
committed
remove console.error and make the json editor a lot shorter
1 parent 4bb9f72 commit 1284555

File tree

1 file changed

+1
-3
lines changed
  • x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/load_from_json

1 file changed

+1
-3
lines changed

x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/load_from_json/modal_provider.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ export const ModalProvider: FunctionComponent<Props> = ({ onDone, children }) =>
9494
setIsModalVisible(false);
9595
} catch (e) {
9696
setError(e);
97-
// eslint-disable-next-line no-console
98-
console.error(e);
9997
}
10098
}}
10199
cancelButtonText={i18nTexts.buttons.cancel}
@@ -131,7 +129,7 @@ export const ModalProvider: FunctionComponent<Props> = ({ onDone, children }) =>
131129
label={i18nTexts.editor.label}
132130
onUpdate={onJsonUpdate}
133131
euiCodeEditorProps={{
134-
height: '450px',
132+
height: '300px',
135133
}}
136134
/>
137135
</div>

0 commit comments

Comments
 (0)