From 8dbdf1be93e4473cf4259b9e9cdae1517765fbd5 Mon Sep 17 00:00:00 2001 From: Aswath Date: Fri, 24 Mar 2023 08:40:07 +0100 Subject: [PATCH] [Vega] Add Filter custom label for opensearchDashboardsAddFilter Signed-off-by: Aswath Co-authored-by: Josh Romero --- src/plugins/vis_type_vega/public/vega_view/vega_base_view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/vis_type_vega/public/vega_view/vega_base_view.js b/src/plugins/vis_type_vega/public/vega_view/vega_base_view.js index df214425d1fa..0f46e7bf9d8e 100644 --- a/src/plugins/vis_type_vega/public/vega_view/vega_base_view.js +++ b/src/plugins/vis_type_vega/public/vega_view/vega_base_view.js @@ -315,7 +315,7 @@ export class VegaBaseView { /** * @param {object} query Query DSL snippet, as used in the query DSL editor * @param {string} [index] as defined in OpenSearch Dashboards, or default if missing - * @param {string} alias OpenSearch Query DSL's Custom label for opensearchDashboardsAddFilter, as used in '+ Add Filter' + * @param {string} alias OpenSearch Query DSL's custom label for `opensearchDashboardsAddFilter`, as used in '+ Add Filter' */ async addFilterHandler(query, index, alias) { const indexId = await this.findIndex(Utils.handleNonStringIndex(index));