diff --git a/app/views/projects/issues/_init_service.js.erb b/app/views/projects/issues/_init_service.js.erb index b829ac604..105a321a4 100644 --- a/app/views/projects/issues/_init_service.js.erb +++ b/app/views/projects/issues/_init_service.js.erb @@ -14,7 +14,7 @@ }; }); <% end %> - <% if action_name == 'index' %> + <% if action_name.in?(['new', 'create', 'index']) %> angular.module('RosaABF').service('LabelsInitializer', function(){ return { project: '<%= @project.name_with_owner %>',