From ff2cb923ab592bca2ee909947c465ba236626262 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Thu, 20 Oct 2022 12:06:28 -0700 Subject: [PATCH] [Vis Builder] Update vislib params and misc fixes (#2610) (#2630) * Updates bar, line, area visbuilder config Signed-off-by: Ashwin P Chandran * Misc fixes from functional testing Signed-off-by: Ashwin P Chandran * Adds Changelog entry Signed-off-by: Ashwin P Chandran Signed-off-by: Ashwin P Chandran (cherry picked from commit 33aed0a6bdba070a37bc3002f4a86a81a0150677) --- src/plugins/wizard/public/embeddable/wizard_embeddable.tsx | 4 ++++ .../wizard/public/embeddable/wizard_embeddable_factory.tsx | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plugins/wizard/public/embeddable/wizard_embeddable.tsx b/src/plugins/wizard/public/embeddable/wizard_embeddable.tsx index bc2d4548dda1..e1836bd65402 100644 --- a/src/plugins/wizard/public/embeddable/wizard_embeddable.tsx +++ b/src/plugins/wizard/public/embeddable/wizard_embeddable.tsx @@ -29,6 +29,7 @@ import { } from '../../../data/public'; import { validateSchemaState } from '../application/utils/validate_schema_state'; import { getExpressionLoader, getTypeService } from '../plugin_services'; +import { PersistedState } from '../../../visualizations/public'; // Apparently this needs to match the saved object type for the clone and replace panel actions to work export const WIZARD_EMBEDDABLE = WIZARD_SAVED_OBJECT; @@ -65,6 +66,7 @@ export class WizardEmbeddable extends Embeddable { try { const savedWizard = await getSavedWizardLoader().get(savedObjectId); - const editPath = `${EDIT_PATH}/${savedObjectId}`; - const editUrl = getHttp().basePath.prepend(`/app/${PLUGIN_ID}${editPath}`); - const isLabsEnabled = getUISettings().get(VISUALIZE_ENABLE_LABS_SETTING); if (!isLabsEnabled) {