Commit d982619c authored by Phil Hughes's avatar Phil Hughes

Prettify error_details.vue component

parent 313bcadb
......@@ -251,8 +251,8 @@ export default {
<li>
<strong class="bold">{{ __('Sentry event') }}:</strong>
<gl-link
class="d-inline-flex align-items-center"
v-track-event="trackClickErrorLinkToSentryOptions(GQLerror.externalUrl)"
class="d-inline-flex align-items-center"
:href="GQLerror.externalUrl"
target="_blank"
>
......@@ -264,7 +264,9 @@ export default {
<strong class="bold">{{ __('First seen') }}:</strong>
{{ formatDate(GQLerror.firstSeen) }}
<gl-link :href="firstReleaseLink" target="_blank">
<span>{{ __('Release') }}: {{ GQLerror.firstReleaseShortVersion.substr(0, 10) }}</span>
<span>
{{ __('Release') }}: {{ GQLerror.firstReleaseShortVersion.substr(0, 10) }}
</span>
</gl-link>
</li>
<li v-if="GQLerror.lastReleaseShortVersion">
......
......@@ -266,7 +266,7 @@ describe('ErrorDetails', () => {
});
});
it('should display a link', () => {
it('should not display a link', () => {
mocks.$apollo.queries.GQLerror.loading = false;
wrapper.setData({
GQLerror: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment