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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
1f50b3fe
Commit
1f50b3fe
authored
Nov 29, 2016
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
render valid user props for pipeline user
parent
8856d5a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
app/assets/javascripts/vue_pipelines_index/pipeline_url.js.es6
...ssets/javascripts/vue_pipelines_index/pipeline_url.js.es6
+4
-3
No files found.
app/assets/javascripts/vue_pipelines_index/pipeline_url.js.es6
View file @
1f50b3fe
...
...
@@ -11,7 +11,8 @@
],
computed: {
user() {
if (!this.pipeline.user === null) return true;
// debugger
if (this.pipeline.user) return true;
return false;
},
},
...
...
@@ -23,14 +24,14 @@
<span>by</span>
<a
v-if='user'
:href='pipeline.user.url'
:href='pipeline.user.
web_
url'
>
<img
v-if='user'
class="avatar has-tooltip s20 "
:title='pipeline.user.name'
data-container="body"
:src='pipeline.user.avatar_url
|| pipeline.user.gravatar
'
:src='pipeline.user.avatar_url'
>
</a>
<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