From 32c727cb9b8f0d8dc6de349482d49f81d8067656 Mon Sep 17 00:00:00 2001 From: Filipa Lacerda Date: Tue, 25 Oct 2016 10:08:01 +0100 Subject: Fix typo --- app/views/projects/environments/index.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views/projects/environments/index.html.haml') diff --git a/app/views/projects/environments/index.html.haml b/app/views/projects/environments/index.html.haml index 7cec3fa281c..3538777d11c 100644 --- a/app/views/projects/environments/index.html.haml +++ b/app/views/projects/environments/index.html.haml @@ -12,7 +12,7 @@ = link_to project_environments_path(@project) do Available %span.badge.js-available-environments-count - {{counAvailable}} + {{countAvailable}} %li{class: ('active' if @scope == 'stopped')} = link_to project_environments_path(@project, scope: :stopped) do @@ -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" } + .table-holder{ "v-if" => "!loading && state.environments.length" } %table.table.ci-table.environments %thead %th Environment -- cgit v1.2.1