diff options
Diffstat (limited to 'app/assets/javascripts/users_select/constants.js')
-rw-r--r-- | app/assets/javascripts/users_select/constants.js | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/app/assets/javascripts/users_select/constants.js b/app/assets/javascripts/users_select/constants.js index 64df1e1748c..c100c1f4ca5 100644 --- a/app/assets/javascripts/users_select/constants.js +++ b/app/assets/javascripts/users_select/constants.js @@ -1,11 +1,3 @@ -export const AJAX_USERS_SELECT_OPTIONS_MAP = { - projectId: 'projectId', - groupId: 'groupId', - showCurrentUser: 'currentUser', - authorId: 'authorId', - skipUsers: 'skipUsers', -}; - export const AJAX_USERS_SELECT_PARAMS_MAP = { project_id: 'projectId', group_id: 'groupId', @@ -15,4 +7,7 @@ export const AJAX_USERS_SELECT_PARAMS_MAP = { current_user: 'showCurrentUser', author_id: 'authorId', skip_users: 'skipUsers', + states: 'states', }; + +export const ACTIVE_AND_BLOCKED_USER_STATES = ['active', 'blocked']; |