Skip to content
Snippets Groups Projects
Commit 1fabe747 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fix totals

parent 2405966c
No related branches found
No related tags found
No related merge requests found
...@@ -116,7 +116,7 @@ function loadTotals(parallel) { ...@@ -116,7 +116,7 @@ function loadTotals(parallel) {
fetches.push(fetch('/admin/count/count-data-total?date=' + date + '&interface=' + lang) fetches.push(fetch('/admin/count/count-data-total?date=' + date + '&interface=' + lang)
.then(response => response.json()) .then(response => response.json())
.then(response => { .then(response => {
total_requests = parseInt(response.data.total); let total_requests = parseInt(response.data.total);
if (!data[days_ago]) { if (!data[days_ago]) {
data[days_ago] = {} data[days_ago] = {}
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment