Skip to content

Commit

Permalink
revert version changes, inline type declare
Browse files Browse the repository at this point in the history
Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
  • Loading branch information
ps48 committed Sep 25, 2023
1 parent 046d3e5 commit b0f24f3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions opensearch_dashboards.json
Original file line number Diff line number Diff line change
@@ -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": []
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const DeleteFieldsModal = ({
}: AddFieldsModalProps) => {
const [selectedFields, setSelectedFields] = useState([]);

const tableColumns = [
const tableColumns: Array<EuiTableFieldDataColumnType<SkippingIndexRowType>> = [
{
field: 'fieldName',
name: 'Field name',
Expand All @@ -49,7 +49,7 @@ export const DeleteFieldsModal = ({
sortable: true,
truncateText: true,
},
] as Array<EuiTableFieldDataColumnType<SkippingIndexRowType>>;
];

const pagination = {
initialPageSize: 20,
Expand Down

0 comments on commit b0f24f3

Please sign in to comment.