mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Fix default local storage chart visibility
This commit is contained in:
parent
0f2e25ba72
commit
ec7afcdbc4
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@
|
|||
|
||||
function getGraphVisibility(chart_name, data_series) {
|
||||
var chart_key = 'HighCharts_' + chart_name;
|
||||
var chart_visibility = JSON.parse(getLocalStorage(chart_key)) || [];
|
||||
var chart_visibility = JSON.parse(getLocalStorage(chart_key, null)) || [];
|
||||
|
||||
chart_visibility = chart_visibility.reduce(function(obj, s) {
|
||||
obj[s.name] = s.visible;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue