From d735770850ba7ddfa329b6f52dafd9b163c418e0 Mon Sep 17 00:00:00 2001 From: Alison Goryachev Date: Thu, 16 Jan 2020 09:45:36 -0500 Subject: [PATCH] fix TS --- .../public/app/components/mappings_editor/mappings_editor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/legacy/plugins/index_management/public/app/components/mappings_editor/mappings_editor.tsx b/x-pack/legacy/plugins/index_management/public/app/components/mappings_editor/mappings_editor.tsx index 064f9c830466f..e3fdf42d889e9 100644 --- a/x-pack/legacy/plugins/index_management/public/app/components/mappings_editor/mappings_editor.tsx +++ b/x-pack/legacy/plugins/index_management/public/app/components/mappings_editor/mappings_editor.tsx @@ -68,7 +68,7 @@ export const MappingsEditor = React.memo(({ onUpdate, defaultValue, indexSetting return; } } else if (selectedTab === 'templates') { - const { isValid: isTemplatesFormValid } = await state.templates.submitForm(); + const { isValid: isTemplatesFormValid } = await state.templates.submitForm!(); if (!isTemplatesFormValid) { return;