Commit 2b2ce1b2 authored by Jacob Schatz's avatar Jacob Schatz

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

Stop CI notification showing when status is nil

See merge request !10044
parents 7add0e85 d6c4453a
......@@ -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;
......
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