From 91c47c8fa6d52f854aca05fbf35882a229a19f00 Mon Sep 17 00:00:00 2001 From: Joshua Li Date: Tue, 27 Aug 2024 23:41:33 +0000 Subject: [PATCH] fix query editor extensions enhance key Signed-off-by: Joshua Li --- docs/_sidebar.md | 1 + src/plugins/query_enhancements/public/plugin.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 792c35e3949b..b1b70d6abb01 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -147,6 +147,7 @@ - [Opensearch dashboards.release notes 1.3.14](../release-notes/opensearch-dashboards.release-notes-1.3.14.md) - [Opensearch dashboards.release notes 1.3.15](../release-notes/opensearch-dashboards.release-notes-1.3.15.md) - [Opensearch dashboards.release notes 1.3.17](../release-notes/opensearch-dashboards.release-notes-1.3.17.md) + - [Opensearch dashboards.release notes 1.3.19](../release-notes/opensearch-dashboards.release-notes-1.3.19.md) - [Opensearch dashboards.release notes 1.3.2](../release-notes/opensearch-dashboards.release-notes-1.3.2.md) - [Opensearch dashboards.release notes 1.3.3](../release-notes/opensearch-dashboards.release-notes-1.3.3.md) - [Opensearch dashboards.release notes 1.3.5](../release-notes/opensearch-dashboards.release-notes-1.3.5.md) diff --git a/src/plugins/query_enhancements/public/plugin.tsx b/src/plugins/query_enhancements/public/plugin.tsx index 62f5270fa1b1..ffbd7af326f7 100644 --- a/src/plugins/query_enhancements/public/plugin.tsx +++ b/src/plugins/query_enhancements/public/plugin.tsx @@ -95,7 +95,7 @@ export class QueryEnhancementsPlugin queryString.getLanguageService().registerLanguage(sqlLanguageConfig); data.__enhance({ - ui: { + editor: { queryEditorExtension: createQueryAssistExtension(core.http, data, this.config.queryAssist), }, });