Commit cd476336 authored by Filipa Lacerda's avatar Filipa Lacerda

tests

parent 32c727cb
......@@ -3,6 +3,7 @@
//= require_tree ./stores
//= require_tree ./services
//= require ./components/environment_item
//= require ../boards/vue_resource_interceptor
$(() => {
......@@ -72,6 +73,8 @@ $(() => {
ready() {
gl.environmentsService.all().then((resp) => {
Store.storeEnvironments(resp.json());
console.log("HELLLLOOOOOOOOOOOOOO", resp.json())
this.loading = false;
});
......
......@@ -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
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment