Commit c2d943a7 authored by Filipa Lacerda's avatar Filipa Lacerda

Changes after review

parent 4ad8c999
......@@ -23,7 +23,7 @@
},
viewType: {
type: String,
required: false,
required: true,
},
},
components: {
......
......@@ -31,7 +31,7 @@ export default {
},
viewType: {
type: String,
required: false,
required: true,
},
},
components: {
......
......@@ -54,7 +54,7 @@
:href="status.details_path"
:class="cssClass"
v-tooltip
:title="status.text">
:title="!showText ? status.text : ''">
<ci-icon :status="status" />
<template v-if="showText">
......
......@@ -10,6 +10,7 @@ describe('Pipelines Table Row', () => {
propsData: {
pipeline,
autoDevopsHelpPath: 'foo',
viewType: 'root',
},
}).$mount();
};
......
......@@ -23,6 +23,7 @@ describe('Pipelines Table', () => {
propsData: {
pipelines: [],
autoDevopsHelpPath: 'foo',
viewType: 'root',
},
}).$mount();
});
......@@ -49,6 +50,7 @@ describe('Pipelines Table', () => {
propsData: {
pipelines: [],
autoDevopsHelpPath: 'foo',
viewType: 'root',
},
}).$mount();
expect(component.$el.querySelectorAll('.commit.gl-responsive-table-row').length).toEqual(0);
......@@ -61,6 +63,7 @@ describe('Pipelines Table', () => {
propsData: {
pipelines: [pipeline],
autoDevopsHelpPath: 'foo',
viewType: 'root',
},
}).$mount();
......
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