Skip to content

Commit

Permalink
Fixed issue where last updated label was not updated in real-time.
Browse files Browse the repository at this point in the history
Closes #1548
  • Loading branch information
allinurl committed Nov 28, 2019
1 parent 206a4ef commit ac3d563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/app.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ GoAccess.OverallStats = {
renderData: function (data, ui) { renderData: function (data, ui) {
var idx = 0, row = null; var idx = 0, row = null;


$('.last-updated').innerHTML = data.date_time;
$('.wrap-general').innerHTML = GoAccess.AppTpls.General.wrap.render(GoAccess.Util.merge(ui, { $('.wrap-general').innerHTML = GoAccess.AppTpls.General.wrap.render(GoAccess.Util.merge(ui, {
'lastUpdated': data.date_time,
'from': data.start_date, 'from': data.start_date,
'to': data.end_date, 'to': data.end_date,
})); }));
Expand Down

0 comments on commit ac3d563

Please sign in to comment.