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 {
hasHighlightedJob() {
return Boolean(this.highlightedJob);
},
alert() {
if (this.hasError) {
return this.failure;
}
return this.warning;
},
failure() {
switch (this.failureType) {
case DRAW_FAILURE:
......@@ -210,11 +203,11 @@ export default {
<div>
<gl-alert
v-if="hasError"
:variant="alert.variant"
:dismissible="alert.dismissible"
@dismiss="alert.dismissible ? resetFailure : null"
:variant="failure.variant"
:dismissible="failure.dismissible"
@dismiss="resetFailure"
>
{{ alert.text }}
{{ failure.text }}
</gl-alert>
<div
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