Commit cd476336 authored by Filipa Lacerda's avatar Filipa Lacerda

tests

parent 32c727cb
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
//= require_tree ./stores //= require_tree ./stores
//= require_tree ./services //= require_tree ./services
//= require ./components/environment_item //= require ./components/environment_item
//= require ../boards/vue_resource_interceptor
$(() => { $(() => {
...@@ -72,6 +73,8 @@ $(() => { ...@@ -72,6 +73,8 @@ $(() => {
ready() { ready() {
gl.environmentsService.all().then((resp) => { gl.environmentsService.all().then((resp) => {
Store.storeEnvironments(resp.json()); Store.storeEnvironments(resp.json());
console.log("HELLLLOOOOOOOOOOOOOO", resp.json())
this.loading = false; this.loading = false;
}); });
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
= link_to new_namespace_project_environment_path(@project.namespace, @project), class: 'btn btn-create' do = link_to new_namespace_project_environment_path(@project.namespace, @project), class: 'btn btn-create' do
New environment New environment
.table-holder{ "v-if" => "!loading && state.environments.length" } .table-holder{ "v-if" => "!loading && state.environments" }
%table.table.ci-table.environments %table.table.ci-table.environments
%thead %thead
%th Environment %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