diff options
Diffstat (limited to 'app/dashboard/static/js/linaro-builds-job-kernel-defconfig-1.0.7.js')
-rw-r--r-- | app/dashboard/static/js/linaro-builds-job-kernel-defconfig-1.0.7.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/app/dashboard/static/js/linaro-builds-job-kernel-defconfig-1.0.7.js b/app/dashboard/static/js/linaro-builds-job-kernel-defconfig-1.0.7.js index dee478c..1c00fe9 100644 --- a/app/dashboard/static/js/linaro-builds-job-kernel-defconfig-1.0.7.js +++ b/app/dashboard/static/js/linaro-builds-job-kernel-defconfig-1.0.7.js @@ -478,8 +478,15 @@ function createBisectTable(data) { } $('#bisect-loading-div').remove(); - $('#bad-commit').empty().append( - '<span class="text-danger">' + badCommit + '</span>'); + if (badCommit !== null) { + $('#bad-commit').empty().append( + '<span class="text-danger">' + badCommit + '</span>'); + } else { + $('#bad-commit').empty().append( + '<span class="text-warning">' + + 'No corresponding bad commit found</span>' + ); + } if (goodCommit !== null) { $('#good-commit').empty().append( '<span class="text-success">' + goodCommit + '</span>'); |