diff options
author | Heinrich Lee Yu <hleeyu@gmail.com> | 2019-01-11 22:11:18 +0800 |
---|---|---|
committer | Heinrich Lee Yu <hleeyu@gmail.com> | 2019-01-11 22:11:18 +0800 |
commit | 993cff046d325ed7ad645d4fe9cf63edc9c9a93a (patch) | |
tree | 6d70b0b03fa193a0b45429577e1d694ccfd21d45 /app/views/shared/empty_states/_issues.html.haml | |
parent | 6b2f81f6078e96f081154c50dc25e54fe7c09d6f (diff) | |
download | gitlab-ce-993cff046d325ed7ad645d4fe9cf63edc9c9a93a.tar.gz |
Remove import_issues_csv feature flag
Also remove test for the feature flag
Diffstat (limited to 'app/views/shared/empty_states/_issues.html.haml')
-rw-r--r-- | app/views/shared/empty_states/_issues.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/empty_states/_issues.html.haml b/app/views/shared/empty_states/_issues.html.haml index 2691ec4cd46..9173b802dd4 100644 --- a/app/views/shared/empty_states/_issues.html.haml +++ b/app/views/shared/empty_states/_issues.html.haml @@ -1,6 +1,6 @@ - button_path = local_assigns.fetch(:button_path, false) - project_select_button = local_assigns.fetch(:project_select_button, false) -- show_import_button = local_assigns.fetch(:show_import_button, false) && Feature.enabled?(:issues_import_csv) && can?(current_user, :import_issues, @project) +- show_import_button = local_assigns.fetch(:show_import_button, false) && can?(current_user, :import_issues, @project) - has_button = button_path || project_select_button - closed_issues_count = issuables_count_for_state(:issues, :closed) - opened_issues_count = issuables_count_for_state(:issues, :opened) |