feat: Add Preview buttons for every private link (#24623)
This commit is contained in:
@@ -293,6 +293,20 @@ export const MultiplePrivateLinksController = ({
|
||||
}
|
||||
/>
|
||||
<div className="ml-2 flex items-center">
|
||||
{!isExpired && (
|
||||
<Tooltip content={t("preview")}>
|
||||
<Button
|
||||
type="button"
|
||||
color="minimal"
|
||||
variant="icon"
|
||||
StartIcon="external-link"
|
||||
data-testid="private-link-preview"
|
||||
href={singleUseURL}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
/>
|
||||
</Tooltip>
|
||||
)}
|
||||
{!isExpired && (
|
||||
<Button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user