Cleanup request Folders response

This commit is contained in:
djmaze 2021-11-24 15:18:13 +01:00
parent e27fb46500
commit 7afbc05d18
7 changed files with 78 additions and 135 deletions

View file

@ -25,7 +25,6 @@ export class AbstractCollectionModel extends Array
if (json) {
if ('Collection/'+this.name.replace('Model', '') === json['@Object']) {
Object.entries(json).forEach(([key, value]) => '@' !== key[0] && (result[key] = value));
// json[@Count]
json = json['@Collection'];
}
if (isArray(json)) {