diff --git a/app/helpers/remote_execution_helper.rb b/app/helpers/remote_execution_helper.rb index 0ba0f4abb..a413d37d4 100644 --- a/app/helpers/remote_execution_helper.rb +++ b/app/helpers/remote_execution_helper.rb @@ -99,12 +99,11 @@ def job_invocation_task_buttons(task) :disabled => !task.cancellable?, :method => :post) end - if Setting[:lab_features] - buttons << link_to(_('New UI'), new_job_invocation_detail_path(:id => job_invocation.id), - class: 'btn btn-default', - title: _('Switch to the new job invocation detail UI')) - end - return buttons + buttons << link_to(_('New UI'), new_job_invocation_detail_path(:id => job_invocation.id), + class: 'btn btn-default', + title: _('Switch to the new job invocation detail UI')) + + buttons end def template_invocation_task_buttons(task, invocation)