From bb5dc5b71562a07948896e42721e4098f52dcfa5 Mon Sep 17 00:00:00 2001 From: Ashish Agrawal Date: Thu, 18 May 2023 16:24:54 -0700 Subject: [PATCH] fix comments Signed-off-by: Ashish Agrawal --- .../public/embeddable/create_vis_embeddable_from_object.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts b/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts index ec95f7fb6f18..2c937847ee61 100644 --- a/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts +++ b/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts @@ -44,8 +44,8 @@ import { getHttp, getTimeFilter, getCapabilities, + getSavedAugmentVisLoader, } from '../services'; -import { getSavedAugmentVisLoader } from '../services'; import { VisualizeEmbeddableFactoryDeps } from './visualize_embeddable_factory'; import { VISUALIZE_ENABLE_LABS_SETTING } from '../../common/constants'; import { SavedVisualizationsLoader } from '../saved_visualizations'; @@ -89,7 +89,7 @@ export const createVisEmbeddableFromObject = (deps: VisualizeEmbeddableFactoryDe const editable = getCapabilities().visualize.save as boolean; - const savedAugmentVisLoader = await getSavedAugmentVisLoader(); + const savedAugmentVisLoader = getSavedAugmentVisLoader(); return new VisualizeEmbeddable( getTimeFilter(),