mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
fix(edge/stack): edge stack env table pagination and action [EE-6836] (#11837)
This commit is contained in:
parent
014a590704
commit
659abe553d
3 changed files with 17 additions and 9 deletions
|
@ -19,12 +19,12 @@ export function EnvironmentActions({ environment }: Props) {
|
|||
} = useCurrentStateAndParams();
|
||||
|
||||
return (
|
||||
<div className="space-x-2">
|
||||
{environment.Snapshots.length > 0 && (
|
||||
<div>
|
||||
{environment.Snapshots.length > 0 && environment.Edge.AsyncMode && (
|
||||
<Link
|
||||
to="edge.browse.containers"
|
||||
params={{ environmentId: environment.Id, edgeStackId }}
|
||||
className="!text-inherit hover:!no-underline"
|
||||
className="hover:!no-underline"
|
||||
data-cy="browse-snapshot-link"
|
||||
>
|
||||
<Button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue