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

fix(volumes): fix broken volume browse button EE-6274 (#10566)

This commit is contained in:
cmeng 2023-11-01 14:15:54 +13:00 committed by GitHub
parent 8daf77c3b6
commit 600c8a3025
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,19 @@ function Cell({
</Link>
{isBrowseVisible && (
<Authorized authorizations="DockerAgentBrowseList">
<Button icon={Search} color="primary" size="xsmall" as={Link}>
<Button
icon={Search}
color="primary"
size="xsmall"
as={Link}
props={{
to: 'docker.volumes.volume.browse',
params: {
id: item.Id,
nodeName: item.NodeName,
},
}}
>
browse
</Button>
</Authorized>