diff --git a/opensearch_dashboards.json b/opensearch_dashboards.json index 56b515ba..972bedd4 100644 --- a/opensearch_dashboards.json +++ b/opensearch_dashboards.json @@ -1,11 +1,9 @@ { "id": "queryWorkbenchDashboards", - "version": "2.9.0.0", - "opensearchDashboardsVersion": "2.9.0", + "version": "3.0.0.0", + "opensearchDashboardsVersion": "3.0.0", "server": true, "ui": true, - "requiredPlugins": [ - "navigation" - ], + "requiredPlugins": ["navigation"], "optionalPlugins": [] } diff --git a/package.json b/package.json index 789e2cb9..a083a0aa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "opensearch-query-workbench", - "version": "2.9.0.0", + "version": "3.0.0.0", "description": "Query Workbench", "main": "index.js", "license": "Apache-2.0", diff --git a/public/components/acceleration/visual_editors/skipping_index/delete_fields_modal.tsx b/public/components/acceleration/visual_editors/skipping_index/delete_fields_modal.tsx index 5b078bca..58a6fa79 100644 --- a/public/components/acceleration/visual_editors/skipping_index/delete_fields_modal.tsx +++ b/public/components/acceleration/visual_editors/skipping_index/delete_fields_modal.tsx @@ -30,7 +30,7 @@ export const DeleteFieldsModal = ({ }: AddFieldsModalProps) => { const [selectedFields, setSelectedFields] = useState([]); - const tableColumns = [ + const tableColumns: Array> = [ { field: 'fieldName', name: 'Field name', @@ -49,7 +49,7 @@ export const DeleteFieldsModal = ({ sortable: true, truncateText: true, }, - ] as Array>; + ]; const pagination = { initialPageSize: 20,