summaryrefslogtreecommitdiff
path: root/app/views/admin/dashboard/index.html.haml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-21 00:10:44 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-21 00:10:44 +0000
commitc7a46b04196859929e8e4c04fbcbf8490f228edf (patch)
treed378b8cdd9f49903ed6f61810f61fb61217b6e3e /app/views/admin/dashboard/index.html.haml
parent5c42c9355afa2bd5f95000b294ae6053f1d9219f (diff)
downloadgitlab-ce-c7a46b04196859929e8e4c04fbcbf8490f228edf.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/admin/dashboard/index.html.haml')
-rw-r--r--app/views/admin/dashboard/index.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/dashboard/index.html.haml b/app/views/admin/dashboard/index.html.haml
index 271ab12037e..8c9e98765aa 100644
--- a/app/views/admin/dashboard/index.html.haml
+++ b/app/views/admin/dashboard/index.html.haml
@@ -7,8 +7,8 @@
dismissible: true.to_s } }
= notice[:message].html_safe
-- if show_license_breakdown?
- = render_if_exists 'admin/licenses/breakdown', license: @license
+- if @license.present? && show_license_breakdown?
+ = render_if_exists 'admin/licenses/breakdown'
.admin-dashboard.gl-mt-3
.row