summaryrefslogtreecommitdiff
path: root/app/views/projects/environments/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/environments/index.html.haml')
-rw-r--r--app/views/projects/environments/index.html.haml7
1 files changed, 2 insertions, 5 deletions
diff --git a/app/views/projects/environments/index.html.haml b/app/views/projects/environments/index.html.haml
index 34f38a2ee32..a8667d88e7b 100644
--- a/app/views/projects/environments/index.html.haml
+++ b/app/views/projects/environments/index.html.haml
@@ -41,7 +41,7 @@
= link_to new_namespace_project_environment_path(@project.namespace, @project), class: 'btn btn-create' do
New environment
- .table-holder{ "v-if" => "!loading && state.environments.length" }
+ .table-holder{ "v-if" => "!loading && state.environments" }
%table.table.ci-table.environments
%thead
%th Environment
@@ -51,9 +51,6 @@
%th
%th.hidden-xs
%tbody
- %tr{ "is"=>"environment-item",
- "inline-template" => true,
- "v-for" => "environment in state.environments",
- ":model" => "environment" }
+ %tr{"is" => "environment-item", "v-for" => "model in state.environments", ":model" => "model"}
=render "projects/environments/components/environment"