Skip to content

Commit

Permalink
js files loaded in an undefined sequence #378
Browse files Browse the repository at this point in the history
  • Loading branch information
Rello committed Nov 17, 2023
1 parent e1aeb22 commit aeef217
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- save error for reports without table
- type parsing in report mapper
- report import not creating dataset
- js files loaded in an undefined sequence #378

## 4.11.0 - 2023-10-01
### Added
Expand Down
9 changes: 2 additions & 7 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@

'use strict';

if (!OCA.Analytics) {
/**
* @namespace
*/
OCA.Analytics = {
OCA.Analytics = Object.assign({}, OCA.Analytics, {
TYPE_GROUP: 0,
TYPE_INTERNAL_FILE: 1,
TYPE_INTERNAL_DB: 2,
Expand Down Expand Up @@ -65,8 +61,7 @@ if (!OCA.Analytics) {
headers.append('Content-Type', 'application/json');
return headers;
}
};
}
});
/**
* @namespace OCA.Analytics.Core
*/
Expand Down

0 comments on commit aeef217

Please sign in to comment.