fix(containers/datatable): disable autoreset expanded and selected rows [EE-2347] (#6563)

This commit is contained in:
Marcelo Rydel
2022-03-17 14:55:11 -03:00
committed by GitHub
parent 9aeedf1bfa
commit d962c300f9
2 changed files with 7 additions and 0 deletions
@@ -100,6 +100,10 @@ export function ContainersDatatable({
isRowSelectable(row: Row<DockerContainer>) {
return !row.original.IsPortainer;
},
autoResetSelectedRows: false,
getRowId(originalRow: DockerContainer) {
return originalRow.Id;
},
selectCheckboxComponent: Checkbox,
},
useFilters,