Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d982619c
Commit
d982619c
authored
Jan 17, 2020
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prettify error_details.vue component
parent
313bcadb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
app/assets/javascripts/error_tracking/components/error_details.vue
...s/javascripts/error_tracking/components/error_details.vue
+4
-2
spec/frontend/error_tracking/components/error_details_spec.js
.../frontend/error_tracking/components/error_details_spec.js
+1
-1
No files found.
app/assets/javascripts/error_tracking/components/error_details.vue
View file @
d982619c
...
...
@@ -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"
>
...
...
spec/frontend/error_tracking/components/error_details_spec.js
View file @
d982619c
...
...
@@ -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
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment