Changes after review
This commit is contained in:
parent
4ad8c9997d
commit
c2d943a7ea
5 changed files with 7 additions and 3 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue