Update links title

Signed-off-by: denis.fortin <denis.fortin@adevinta.com>
This commit is contained in:
df11
2022-06-27 14:32:09 +02:00
committed by denis.fortin
parent 87c5c74139
commit 69c6e4751e
@@ -58,7 +58,7 @@ export const EntityVaultTable = ({ entity }: { entity: Entity }) => {
view: (
<Link
aria-label="View"
title={`View ${secret.name}`}
title={`View ${secret.path.replace(secretPath + "/", "")}/${secret.name}`}
to={secret.showUrl}
>
<Visibility style={{ fontSize: 16 }} />
@@ -67,7 +67,7 @@ export const EntityVaultTable = ({ entity }: { entity: Entity }) => {
edit: (
<Link
aria-label="Edit"
title={`Edit ${secret.name}`}
title={`Edit ${secret.path.replace(secretPath + "/", "")}/${secret.name}`}
to={secret.editUrl}
>
<Edit style={{ fontSize: 16 }} />