* Disable link to details page * removed underline
This commit is contained in:
parent
7d35513f6f
commit
23083b1404
|
@ -58,13 +58,11 @@ exports[`Ping Timestamp component render without errors 1`] = `
|
|||
class="stepArrowsFullScreen"
|
||||
style="position:absolute;bottom:32px;width:100%"
|
||||
/>
|
||||
<a
|
||||
class="euiLink euiLink--primary eui-textNoWrap"
|
||||
href="/step/details"
|
||||
rel="noreferrer"
|
||||
<span
|
||||
class="eui-textNoWrap"
|
||||
>
|
||||
Nov 26, 2020 10:28:56 AM
|
||||
</a>
|
||||
</span>
|
||||
<div
|
||||
class="euiSpacer euiSpacer--s"
|
||||
/>
|
||||
|
@ -130,12 +128,11 @@ exports[`Ping Timestamp component shallow render without errors 1`] = `
|
|||
}
|
||||
}
|
||||
/>
|
||||
<EuiLink
|
||||
<span
|
||||
className="eui-textNoWrap"
|
||||
href="/step/details"
|
||||
>
|
||||
Nov 26, 2020 10:28:56 AM
|
||||
</EuiLink>
|
||||
</span>
|
||||
<EuiSpacer
|
||||
size="s"
|
||||
/>
|
||||
|
|
|
@ -10,7 +10,6 @@ import {
|
|||
EuiFlexGroup,
|
||||
EuiFlexItem,
|
||||
EuiImage,
|
||||
EuiLink,
|
||||
EuiSpacer,
|
||||
EuiText,
|
||||
} from '@elastic/eui';
|
||||
|
@ -32,6 +31,7 @@ const StepImage = styled(EuiImage)`
|
|||
align-self: center;
|
||||
margin-left: 8px;
|
||||
margin-top: 8px;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
@ -132,9 +132,8 @@ export const PingTimestamp = ({ timestamp, ping }: Props) => {
|
|||
</EuiFlexGroup>
|
||||
)}
|
||||
</div>
|
||||
<EuiLink className="eui-textNoWrap" href={'/step/details'}>
|
||||
{getShortTimeStamp(moment(timestamp))}
|
||||
</EuiLink>
|
||||
{/* TODO: Add link to details page once it's available */}
|
||||
<span className="eui-textNoWrap">{getShortTimeStamp(moment(timestamp))}</span>
|
||||
<EuiSpacer size="s" />
|
||||
</>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue