Skip to content

Commit c21d6c7

Browse files
Merge branch 'opensearch-project:main' into main
2 parents 8258d5c + e5cf2d8 commit c21d6c7

File tree

5 files changed

+43
-2779
lines changed

5 files changed

+43
-2779
lines changed

.eslintrc.yml

-7
This file was deleted.

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
]
2424
},
2525
"devDependencies": {
26-
"@elastic/eslint-import-resolver-kibana": "link:../../packages/osd-eslint-import-resolver-opensearch-dashboards",
2726
"@testing-library/user-event": "^12.1.6",
2827
"@types/react-plotly.js": "^2.6.0",
2928
"@types/redux-mock-store": "^1.0.1",

public/pages/DetectorsList/containers/List/List.tsx

+6-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import {
1414
EuiBasicTable,
1515
EuiButton,
1616
EuiComboBoxOptionProps,
17-
EuiHorizontalRule,
1817
EuiPage,
1918
EuiPageBody,
2019
EuiSpacer,
@@ -191,11 +190,14 @@ export const DetectorList = (props: ListProps) => {
191190
const visibleAliases = get(opensearchState, 'aliases', []) as IndexAlias[];
192191
const indexOptions = getVisibleOptions(visibleIndices, visibleAliases);
193192

193+
const queryParams = getURLQueryParams(props.location);
194194
const [state, setState] = useState<ListState>({
195195
page: 0,
196-
queryParams: getURLQueryParams(props.location),
196+
queryParams,
197197
selectedDetectorStates: ALL_DETECTOR_STATES,
198-
selectedIndices: ALL_INDICES,
198+
selectedIndices: queryParams.indices
199+
? queryParams.indices.split(',')
200+
: ALL_INDICES,
199201
});
200202

201203
// Set breadcrumbs on page initialization
@@ -211,7 +213,7 @@ export const DetectorList = (props: ListProps) => {
211213
const { history, location } = props;
212214
const updatedParams = {
213215
...state.queryParams,
214-
indices: state.selectedIndices.join(' '),
216+
indices: state.selectedIndices.join(','),
215217
from: state.page * state.queryParams.size,
216218
};
217219

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Version 2.13.0.0 Release Notes
2+
3+
Compatible with OpenSearch Dashboards 2.13.0
4+
5+
### Maintenance
6+
7+
* Increment version to 2.13.0.0 ([#695](https://github.com/opensearch-project/anomaly-detection-dashboards-plugin/pull/695))

0 commit comments

Comments
 (0)