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
739f9da8
Commit
739f9da8
authored
Apr 16, 2020
by
peterhegman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary computed properties
parent
7d541da8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
18 deletions
+6
-18
app/assets/javascripts/notes/components/note_header.vue
app/assets/javascripts/notes/components/note_header.vue
+6
-18
No files found.
app/assets/javascripts/notes/components/note_header.vue
View file @
739f9da8
...
...
@@ -73,18 +73,6 @@ export default {
'
js-user-link
'
:
true
,
};
},
authorPath
()
{
return
this
.
author
.
path
;
},
authorName
()
{
return
this
.
author
.
name
;
},
authorUsername
()
{
return
this
.
author
.
username
;
},
authorId
()
{
return
this
.
author
.
id
;
},
authorStatus
()
{
return
this
.
author
.
status_tooltip_html
;
},
...
...
@@ -143,13 +131,13 @@ export default {
<template
v-if=
"hasAuthor"
>
<a
ref=
"authorNameLink"
:href=
"author
P
ath"
:href=
"author
.p
ath"
:class=
"authorLinkClasses"
:data-user-id=
"author
I
d"
:data-username=
"author
U
sername"
:data-user-id=
"author
.i
d"
:data-username=
"author
.u
sername"
>
<slot
name=
"note-header-info"
></slot>
<span
class=
"note-header-author-name bold"
>
{{
author
N
ame
}}
</span>
<span
class=
"note-header-author-name bold"
>
{{
author
.
n
ame
}}
</span>
</a>
<span
v-if=
"authorStatus"
...
...
@@ -163,10 +151,10 @@ export default {
<a
ref=
"authorUsernameLink"
class=
"author-username-link"
:href=
"author
P
ath"
:href=
"author
.p
ath"
@
mouseenter=
"handleUsernameMouseEnter"
@
mouseleave=
"handleUsernameMouseLeave"
><span
class=
"note-headline-light"
>
@
{{
author
U
sername
}}
</span>
><span
class=
"note-headline-light"
>
@
{{
author
.
u
sername
}}
</span>
</a>
<gitlab-team-member-badge
v-if=
"showGitlabTeamMemberBadge"
/>
</span>
...
...
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