diff --git a/src/api/app/views/webui/package/_files_view.html.haml b/src/api/app/views/webui/package/_files_view.html.haml index 222c2c33365..006a9d797dd 100644 --- a/src/api/app/views/webui/package/_files_view.html.haml +++ b/src/api/app/views/webui/package/_files_view.html.haml @@ -13,7 +13,7 @@ - file_locals = { package: package, project: project, expand: expand, is_current_rev: is_current_rev, can_modify: user_can_modify_package, nobody: !User.session } = render partial: 'file', collection: files, - cached: proc { |file| [file[:mtime], file[:md5], file_locals, User.possibly_nobody.in_beta].hash }, locals: file_locals + cached: proc { |file| [file[:name], file[:mtime], file[:md5], file_locals, User.possibly_nobody.in_beta].hash }, locals: file_locals - else %i This package has no files yet - if user_can_modify_package