Skip to content
Snippets Groups Projects
Commit 2b2ce1b2 authored by Jacob Schatz's avatar Jacob Schatz
Browse files

Merge branch 'build-notification-null-check' into 'master'

Stop CI notification showing when status is nil

See merge request !10044
parents 7add0e85 d6c4453a
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ import MiniPipelineGraph from './mini_pipeline_graph_dropdown';
_this.opts.ci_sha = data.sha;
_this.updateCommitUrls(data.sha);
}
if (showNotification) {
if (showNotification && data.status) {
status = _this.ciLabelForStatus(data.status);
if (status === "preparing") {
title = _this.opts.ci_title.preparing;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment