summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authormoyuru <moyuru2@hotmail.com>2019-03-12 13:19:11 +0000
committermoyuru <moyuru2@hotmail.com>2019-03-12 13:19:11 +0000
commit94e9b69e05e857f9448f569313e43ffbb1c8ade4 (patch)
tree7a68cc12013b45faa1820c5aaa0cee3fd7730f8d /app
parent59a3b6f45b0ebed10ce80e075b8cd717aa268551 (diff)
downloadgitlab-ce-94e9b69e05e857f9448f569313e43ffbb1c8ade4.tar.gz
Fix Authorized applications count.
Diffstat (limited to 'app')
-rw-r--r--app/views/doorkeeper/applications/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/doorkeeper/applications/index.html.haml b/app/views/doorkeeper/applications/index.html.haml
index b6333743bf7..5d85d9e431f 100644
--- a/app/views/doorkeeper/applications/index.html.haml
+++ b/app/views/doorkeeper/applications/index.html.haml
@@ -52,7 +52,7 @@
.oauth-authorized-applications.prepend-top-20.append-bottom-default
- if user_oauth_applications?
%h5
- = _("Authorized applications (%{size})") % { size: @authorized_apps.size }
+ = _("Authorized applications (%{size})") % { size: @authorized_apps.size + @authorized_anonymous_tokens.size }
- if @authorized_tokens.any?
.table-responsive