[Uptime] Remove link to journey details page (#87146)

* Disable link to details page

* removed underline
This commit is contained in:
Shahzad 2021-01-05 10:51:40 +01:00 committed by GitHub
parent 4f9b0af6ec
commit fb8a1ef505
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 12 deletions

View file

@ -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"
/>

View file

@ -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" />
</>
);