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
|
@ -35,7 +35,8 @@ export function LogsActions({ environmentId, edgeStackId }: Props) {
|
|||
return (
|
||||
<>
|
||||
<Button
|
||||
color="none"
|
||||
className="p-0"
|
||||
color="link"
|
||||
title="Retrieve logs"
|
||||
onClick={handleCollectLogs}
|
||||
data-cy="edge-stack-logs-collect-button"
|
||||
|
@ -48,11 +49,12 @@ export function LogsActions({ environmentId, edgeStackId }: Props) {
|
|||
/>
|
||||
</Button>
|
||||
<Button
|
||||
color="none"
|
||||
data-cy="edge-stack-logs-download-button"
|
||||
className="p-0"
|
||||
color="link"
|
||||
title="Download logs"
|
||||
disabled={status !== 'collected'}
|
||||
onClick={handleDownloadLogs}
|
||||
data-cy="edge-stack-logs-download-button"
|
||||
>
|
||||
<Icon
|
||||
icon={clsx({
|
||||
|
@ -62,7 +64,8 @@ export function LogsActions({ environmentId, edgeStackId }: Props) {
|
|||
/>
|
||||
</Button>
|
||||
<Button
|
||||
color="none"
|
||||
className="p-0"
|
||||
color="link"
|
||||
title="Delete logs"
|
||||
disabled={status !== 'collected'}
|
||||
onClick={handleDeleteLogs}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue