diff --git a/app/views/execution_environments/index.html.slim b/app/views/execution_environments/index.html.slim index 40252d11..58fa7742 100644 --- a/app/views/execution_environments/index.html.slim +++ b/app/views/execution_environments/index.html.slim @@ -1,6 +1,6 @@ h1.d-inline-block = ExecutionEnvironment.model_name.human(count: 2) -- if Runner.management_active? +- if Runner.management_active? && policy(ExecutionEnvironment).sync_all_to_runner_management? = button_to( { action: :sync_all_to_runner_management }, { form_class: 'float-end mb-2', class: 'btn btn-success' }) i.fa-solid.fa-upload = t('execution_environments.index.synchronize_all.button')