Making the lines of code chart hide if no data available. Closes #1103
This commit is contained in:
parent
c95e226496
commit
7b345cbc49
|
@ -89,7 +89,7 @@ var locPlugin = ActiveBuild.UiPlugin.extend({
|
|||
drawChart: function () {
|
||||
var self = this;
|
||||
|
||||
if ($('#information').hasClass('active') && self.chartData) {
|
||||
if ($('#information').hasClass('active') && self.chartData && self.lastData) {
|
||||
$('#build-lines-chart').show();
|
||||
|
||||
var ctx = $("#phploc-lines-chart").get(0).getContext("2d");
|
||||
|
|
Loading…
Reference in a new issue