From c2d943a7ea8de71d9f735b10d3f410eeb7f8bf69 Mon Sep 17 00:00:00 2001 From: Filipa Lacerda Date: Mon, 23 Oct 2017 16:36:02 +0300 Subject: Changes after review --- app/assets/javascripts/pipelines/components/pipelines_table.vue | 2 +- app/assets/javascripts/pipelines/components/pipelines_table_row.vue | 2 +- app/assets/javascripts/vue_shared/components/ci_badge_link.vue | 2 +- spec/javascripts/pipelines/pipelines_table_row_spec.js | 1 + spec/javascripts/pipelines/pipelines_table_spec.js | 3 +++ 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/pipelines/components/pipelines_table.vue b/app/assets/javascripts/pipelines/components/pipelines_table.vue index c0a8637bf3a..16a705cbaff 100644 --- a/app/assets/javascripts/pipelines/components/pipelines_table.vue +++ b/app/assets/javascripts/pipelines/components/pipelines_table.vue @@ -23,7 +23,7 @@ }, viewType: { type: String, - required: false, + required: true, }, }, components: { diff --git a/app/assets/javascripts/pipelines/components/pipelines_table_row.vue b/app/assets/javascripts/pipelines/components/pipelines_table_row.vue index cef1c09a96f..33fbce993b2 100644 --- a/app/assets/javascripts/pipelines/components/pipelines_table_row.vue +++ b/app/assets/javascripts/pipelines/components/pipelines_table_row.vue @@ -31,7 +31,7 @@ export default { }, viewType: { type: String, - required: false, + required: true, }, }, components: { diff --git a/app/assets/javascripts/vue_shared/components/ci_badge_link.vue b/app/assets/javascripts/vue_shared/components/ci_badge_link.vue index 862b1821daa..5b6c6e8d0b9 100644 --- a/app/assets/javascripts/vue_shared/components/ci_badge_link.vue +++ b/app/assets/javascripts/vue_shared/components/ci_badge_link.vue @@ -54,7 +54,7 @@ :href="status.details_path" :class="cssClass" v-tooltip - :title="status.text"> + :title="!showText ? status.text : ''">