1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 06:49:40 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -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,