1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 12:25:22 +02:00

fix(edge/stack): edge stack env table pagination and action [EE-6836] (#11836)

This commit is contained in:
Oscar Zhou 2024-05-21 09:40:03 +12:00 committed by GitHub
parent f5d896bce1
commit 61ef133bb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 20 additions and 8 deletions

View file

@ -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"
>
<Button color="none" title="Browse Snapshot">
<Icon icon={Search} className="searchIcon" />