Skip to content

Commit

Permalink
3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Rello committed Feb 13, 2021
1 parent 574628e commit ba241b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Visualize and share anything, from financial analysis to IoT logs.
- Sharing: user, groups, link
]]></description>
<version>3.2.1</version>
<version>3.3.0</version>
<licence>agpl</licence>
<author>Marcel Scherello</author>
<namespace>Analytics</namespace>
Expand Down
2 changes: 1 addition & 1 deletion js/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ OCA.Analytics.Dashboard = {
xhr.setRequestHeader('OCS-APIREQUEST', 'true');

xhr.onreadystatechange = function () {
if (xhr.readyState === 4 && document.getElementById('analytics-intro').hidden === false) {
if (xhr.readyState === 4) {
let jsondata = JSON.parse(xhr.response);
if (jsondata['status'] !== 'nodata' && jsondata['data'].length > 20) {
jsondata['data'].slice(jsondata['data'].length - 20); //just the last 20 records for the micro charts
Expand Down

0 comments on commit ba241b0

Please sign in to comment.