mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
feat(snapshots): avoid parsing raw snapshots when possible BE-11724 (#560)
This commit is contained in:
parent
0dfde1374d
commit
995c3ef81b
16 changed files with 89 additions and 28 deletions
|
@ -4,5 +4,5 @@ import { useEnvironmentId } from './useEnvironmentId';
|
|||
|
||||
export function useCurrentEnvironment(force = true) {
|
||||
const id = useEnvironmentId(force);
|
||||
return useEnvironment(id);
|
||||
return useEnvironment(id, undefined, { excludeSnapshot: false });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue