aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/mini_environments/show.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/mini_environments/show.html.erb b/app/views/mini_environments/show.html.erb
index 0184749..203fb62 100644
--- a/app/views/mini_environments/show.html.erb
+++ b/app/views/mini_environments/show.html.erb
@@ -95,6 +95,7 @@ License along with the GOV.UK Mini Environment Admin. If not, see
<% end %>
<li class="list-group-item">
<%= submit_tag('Refresh',
+ disabled: @mini_environment.terraform_states.empty?,
role: 'button',
class: 'btn btn-lg btn-info btn-block')
%>