diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-08-10 15:25:54 -0500 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-08-14 11:11:00 -0500 |
commit | bff7c00778906aa0906b0869f4091d820048d3cf (patch) | |
tree | 98803965e847c7d3f7143f501672a4c2e9fdf86f /app/assets/javascripts | |
parent | 1e593a405b66f7dea68cdffad920f2fcd13802da (diff) | |
download | gitlab-ce-bff7c00778906aa0906b0869f4091d820048d3cf.tar.gz |
Switch single fa icon generation to inline
Fix
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12198#note_37145729
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/repo/helpers/repo_helper.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/assets/javascripts/repo/helpers/repo_helper.js b/app/assets/javascripts/repo/helpers/repo_helper.js index 6ff15a5558a..0def5032cc6 100644 --- a/app/assets/javascripts/repo/helpers/repo_helper.js +++ b/app/assets/javascripts/repo/helpers/repo_helper.js @@ -197,10 +197,6 @@ const RepoHelper = { Store.setActiveFiles(newFile); }, - toFA(icon) { - return `fa-${icon}`; - }, - serializeBlob(blob) { const simpleBlob = RepoHelper.serializeRepoEntity('blob', blob); simpleBlob.lastCommitMessage = blob.last_commit.message; @@ -224,7 +220,7 @@ const RepoHelper = { type, name, url, - icon: RepoHelper.toFA(icon), + icon: `fa-${icon}`, level: 0, loading: false, }; |