mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
[Bugfix] Dashboard line charts fixed
This commit is contained in:
parent
52e1809227
commit
1c5e876364
1 changed files with 1 additions and 2 deletions
|
|
@ -78,10 +78,9 @@ $(function() {
|
|||
var options = {};
|
||||
options.fillColor = "rgba(255,255,255,0.0)";
|
||||
options.strokeColor = conferences[i].color;
|
||||
options.data = chart_data[conferences[i].short_title];
|
||||
if(options.data == null || options.data.length == 0){
|
||||
options.data = [0];
|
||||
}else{
|
||||
options.data = chart_data[conferences[i].short_title];
|
||||
}
|
||||
result.push(options)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue