1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

fix(docker/networks): load containers from target node [EE-5446] (#8928)

This commit is contained in:
Chaim Lev-Ari 2023-05-18 12:53:34 +07:00 committed by GitHub
parent 14fa60f6e6
commit 881fa01eb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 97 additions and 73 deletions

View file

@ -45,12 +45,9 @@ export function ContainersDatatable({
const columns = useColumns(isHostColumnVisible, isGPUsColumnVisible);
const tableState = useTableState(settingsStore, storageKey);
const containersQuery = useContainers(
environment.Id,
true,
undefined,
tableState.autoRefreshRate * 1000
);
const containersQuery = useContainers(environment.Id, {
autoRefreshRate: tableState.autoRefreshRate * 1000,
});
return (
<RowProvider context={{ environment }}>