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
883f65ec
Commit
883f65ec
authored
Nov 09, 2016
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix commit icon
parent
60099d90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/vue_common_component/commit.js.es6
app/assets/javascripts/vue_common_component/commit.js.es6
+2
-2
No files found.
app/assets/javascripts/vue_common_component/commit.js.es6
View file @
883f65ec
...
@@ -120,11 +120,11 @@
...
@@ -120,11 +120,11 @@
* TODO: Find a better way to include SVG
* TODO: Find a better way to include SVG
*/
*/
ready() {
ready() {
const commitIconContainer =
document.querySelector('.branch-commit
.commit-icon-container');
const commitIconContainer =
this.$el.querySelector('
.commit-icon-container');
const commitIcon = document.querySelector('.commit-icon-svg.hidden svg');
const commitIcon = document.querySelector('.commit-icon-svg.hidden svg');
if (commitIconContainer && commitIcon) {
if (commitIconContainer && commitIcon) {
commitIconContainer.appendChild(commitIcon);
commitIconContainer.appendChild(commitIcon
.cloneNode(true)
);
}
}
},
},
...
...
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