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
2fc9b5a2
Commit
2fc9b5a2
authored
Nov 16, 2016
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use correct data for ItemIssueComponent from response
parent
2748a01a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
app/assets/javascripts/cycle_analytics/components/item_issue_component.js.es6
...ts/cycle_analytics/components/item_issue_component.js.es6
+7
-6
app/assets/javascripts/cycle_analytics/cycle_analytics_store.js.es6
.../javascripts/cycle_analytics/cycle_analytics_store.js.es6
+2
-0
No files found.
app/assets/javascripts/cycle_analytics/components/item_issue_component.js.es6
View file @
2fc9b5a2
...
...
@@ -21,19 +21,20 @@
template: `
<div>
<div class="item-details">
<img class="avatar"
src="https://secure.gravatar.com/avatar/3731e7dd4f2b4fa8ae184c0a7519dd58?s=64&d=identicon
">
<img class="avatar"
:src="issue.author.avatar_url
">
<h5 class="item-title">
<a href="issue.url">
<a
:
href="issue.url">
{{ issue.title }}
</a>
</h5>
<a href="issue.url" class="issue-link">
#{{issue.id}}
<a
:
href="issue.url" class="issue-link">
#{{issue.i
i
d}}
</a>
·
<span>
Opened
<a href="issue.url" class="issue-date">
{{ issue.
datetime
}}
<a
:
href="issue.url" class="issue-date">
{{ issue.
createdAt
}}
</a>
</span>
<span>
...
...
app/assets/javascripts/cycle_analytics/cycle_analytics_store.js.es6
View file @
2fc9b5a2
...
...
@@ -55,8 +55,10 @@
newEvents.forEach((item) => {
item.totalTime = item.total_time;
item.createdAt = item.created_at;
delete item.total_time;
delete item.created_at;
});
return newEvents;
...
...
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