diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-11-05 11:12:02 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-11-05 11:12:02 +0000 |
commit | 7d4b717c92d0e2f1db07fb3de0ce356b15d2f7df (patch) | |
tree | 2bda0e2f7733c46fa6ce81018419026c6ae0cae2 /app/helpers/icons_helper.rb | |
parent | 18718eb1047daa2733a7335787f66858375e0677 (diff) | |
parent | 409f2f4dd2888f88df2293466c37c768b94068e5 (diff) | |
download | gitlab-ce-7d4b717c92d0e2f1db07fb3de0ce356b15d2f7df.tar.gz |
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.rb | 2 |
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 |