mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 14:29:40 +02:00
fix(docker/networks): load containers from target node [EE-5446] (#8928)
This commit is contained in:
parent
14fa60f6e6
commit
881fa01eb2
8 changed files with 97 additions and 73 deletions
|
@ -42,14 +42,12 @@ export function StackContainersDatatable({ environment, stackName }: Props) {
|
|||
const isGPUsColumnVisible = useShowGPUsColumn(environment.Id);
|
||||
const columns = useColumns(false, isGPUsColumnVisible);
|
||||
|
||||
const containersQuery = useContainers(
|
||||
environment.Id,
|
||||
true,
|
||||
{
|
||||
const containersQuery = useContainers(environment.Id, {
|
||||
filters: {
|
||||
label: [`com.docker.compose.project=${stackName}`],
|
||||
},
|
||||
tableState.autoRefreshRate * 1000
|
||||
);
|
||||
autoRefreshRate: tableState.autoRefreshRate * 1000,
|
||||
});
|
||||
|
||||
return (
|
||||
<RowProvider context={{ environment }}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue