summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pages/users
diff options
context:
space:
mode:
authorGilbert Roulot <groulot@gitlab.com>2019-03-14 12:55:46 +0000
committerKamil TrzciƄski <ayufan@ayufan.eu>2019-03-14 12:55:46 +0000
commit6ab102a2f832a15c7aae3e4fa74dde6ad08e15db (patch)
treecb25cf8c16a62e0c50980657fada9a961c1a9c0b /app/assets/javascripts/pages/users
parentb5bf179e6994566265cf91c32bcb264875b79249 (diff)
downloadgitlab-ce-6ab102a2f832a15c7aae3e4fa74dde6ad08e15db.tar.gz
Security Dashboard as default view for groups
Add a supporting code to separate groups#show and groups#details which is required for the proper implementation of the Group Overview content and Security Dashboard option for it
Diffstat (limited to 'app/assets/javascripts/pages/users')
-rw-r--r--app/assets/javascripts/pages/users/user_tabs.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/pages/users/user_tabs.js b/app/assets/javascripts/pages/users/user_tabs.js
index 636308c5401..7f800d20835 100644
--- a/app/assets/javascripts/pages/users/user_tabs.js
+++ b/app/assets/javascripts/pages/users/user_tabs.js
@@ -91,6 +91,7 @@ export default class UserTabs {
this.actions = Object.keys(this.loaded);
this.bindEvents();
+ // TODO: refactor to make this configurable via constructor params with a default value of 'show'
if (this.action === 'show') {
this.action = this.defaultAction;
}