mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 13:25:26 +02:00
fix(edge/stack): edge stack env table pagination and action [EE-6836] (#11836)
This commit is contained in:
parent
f5d896bce1
commit
61ef133bb8
3 changed files with 20 additions and 8 deletions
|
@ -34,7 +34,12 @@ export function LogsActions({ environmentId, edgeStackId }: Props) {
|
|||
|
||||
return (
|
||||
<>
|
||||
<Button color="none" title="Retrieve logs" onClick={handleCollectLogs}>
|
||||
<Button
|
||||
className="p-0"
|
||||
color="link"
|
||||
title="Retrieve logs"
|
||||
onClick={handleCollectLogs}
|
||||
>
|
||||
<Icon
|
||||
icon={clsx({
|
||||
'file-text': !collecting,
|
||||
|
@ -43,7 +48,8 @@ export function LogsActions({ environmentId, edgeStackId }: Props) {
|
|||
/>
|
||||
</Button>
|
||||
<Button
|
||||
color="none"
|
||||
className="p-0"
|
||||
color="link"
|
||||
title="Download logs"
|
||||
disabled={status !== 'collected'}
|
||||
onClick={handleDownloadLogs}
|
||||
|
@ -56,7 +62,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