mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 21:45:47 +01:00
Fixing bug where the labels would revert back to hours
This commit is contained in:
@@ -301,9 +301,11 @@ define('admin/general/dashboard', ['semver'], function(semver) {
|
||||
return;
|
||||
}
|
||||
|
||||
units = units || currentGraph;
|
||||
|
||||
socket.emit('admin.analytics.get', {
|
||||
graph: 'traffic',
|
||||
units: units || currentGraph
|
||||
units: units
|
||||
}, function (err, data) {
|
||||
if (JSON.stringify(graphData.traffic) === JSON.stringify(data)) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user