Skip to content

Fixes the margin of the top buttons of the pipeline page

Filipa Lacerda requested to merge 34990-top-buttons-misaligned into master

What does this MR do?

Fixes the margin of the top buttons of the pipeline page.

Note to the reviewer: This state is hard to get. You need to import a project that already has pipelines.

Trick:

diff --git a/app/assets/javascripts/pipelines/components/pipelines.vue b/app/assets/javascripts/pipelines/components/pipelines.vue
index 010063a..5af8939 100644
--- a/app/assets/javascripts/pipelines/components/pipelines.vue
+++ b/app/assets/javascripts/pipelines/components/pipelines.vue
@@ -92,7 +92,7 @@
           this.state.pageInfo.total > this.state.pageInfo.perPage;
       },
       hasCiEnabled() {
-        return this.hasCi !== undefined;
+        return false;
       },
       paths() {
         return {

Screenshots (if relevant)

before after
Screen_Shot_2017-07-12_at_10.21.41__1_ Screen_Shot_2017-08-29_at_18.18.10

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #34990 (closed)

Merge request reports