ImagesTable: Remove the icon from the download link
Fixes #803. This removes the download icon and adds brackets around the file extension.
This commit is contained in:
parent
bd76ff4aba
commit
f32f65c9fb
1 changed files with 2 additions and 4 deletions
|
|
@ -9,7 +9,7 @@ import {
|
|||
TextContent,
|
||||
TextVariants,
|
||||
} from '@patternfly/react-core';
|
||||
import { DownloadIcon, ExternalLinkAltIcon } from '@patternfly/react-icons';
|
||||
import { ExternalLinkAltIcon } from '@patternfly/react-icons';
|
||||
import { resolveRelPath } from '../../Utilities/path';
|
||||
|
||||
const ImageLinkDirect = ({ uploadStatus, ...props }) => {
|
||||
|
|
@ -106,12 +106,10 @@ const ImageLinkDirect = ({ uploadStatus, ...props }) => {
|
|||
component="a"
|
||||
target="_blank"
|
||||
variant="link"
|
||||
icon={<DownloadIcon />}
|
||||
iconPosition="right"
|
||||
isInline
|
||||
href={uploadStatus.options.url}
|
||||
>
|
||||
Download {fileExtensions[props.imageType]}
|
||||
Download ({fileExtensions[props.imageType]})
|
||||
</Button>
|
||||
);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue