Commit 3cbb152c authored by Sarah Groff Hennigh-Palermo's avatar Sarah Groff Hennigh-Palermo

Merge branch 'remove-unused-warning-in-pipeline-editor-app' into 'master'

Remove unused warning in pipeline graph

See merge request gitlab-org/gitlab!54950
parents c2e8a6e0 051f66d6
...@@ -64,13 +64,6 @@ export default { ...@@ -64,13 +64,6 @@ export default {
hasHighlightedJob() { hasHighlightedJob() {
return Boolean(this.highlightedJob); return Boolean(this.highlightedJob);
}, },
alert() {
if (this.hasError) {
return this.failure;
}
return this.warning;
},
failure() { failure() {
switch (this.failureType) { switch (this.failureType) {
case DRAW_FAILURE: case DRAW_FAILURE:
...@@ -210,11 +203,11 @@ export default { ...@@ -210,11 +203,11 @@ export default {
<div> <div>
<gl-alert <gl-alert
v-if="hasError" v-if="hasError"
:variant="alert.variant" :variant="failure.variant"
:dismissible="alert.dismissible" :dismissible="failure.dismissible"
@dismiss="alert.dismissible ? resetFailure : null" @dismiss="resetFailure"
> >
{{ alert.text }} {{ failure.text }}
</gl-alert> </gl-alert>
<div <div
v-if="!hideGraph" v-if="!hideGraph"
......
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