Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-11-05 14:12:02 +0300
committerDouwe Maan <douwe@gitlab.com>2018-11-05 14:12:02 +0300
commit7d4b717c92d0e2f1db07fb3de0ce356b15d2f7df (patch)
tree2bda0e2f7733c46fa6ce81018419026c6ae0cae2 /app/helpers/icons_helper.rb
parent18718eb1047daa2733a7335787f66858375e0677 (diff)
parent409f2f4dd2888f88df2293466c37c768b94068e5 (diff)
Merge branch 'fast_project_blob_path' into 'master'
Improve performance of tree rendering in repositories with a lot of items See merge request gitlab-org/gitlab-ce!16511
Diffstat (limited to 'app/helpers/icons_helper.rb')
-rw-r--r--app/helpers/icons_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/icons_helper.rb b/app/helpers/icons_helper.rb
index 910c9e9446f..b0f63de2fb8 100644
--- a/app/helpers/icons_helper.rb
+++ b/app/helpers/icons_helper.rb
@@ -109,6 +109,8 @@ module IconsHelper
def file_type_icon_class(type, mode, name)
if type == 'folder'
icon_class = 'folder'
+ elsif type == 'archive'
+ icon_class = 'archive'
elsif mode == '120000'
icon_class = 'share'
else