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

pull/10573/head
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
1 changed files with 13 additions and 1 deletions

View File

@ -89,7 +89,19 @@ function Cell({
</Link> </Link>
{isBrowseVisible && ( {isBrowseVisible && (
<Authorized authorizations="DockerAgentBrowseList"> <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 browse
</Button> </Button>
</Authorized> </Authorized>