Traverse directories

This commit is contained in:
2017-11-12 18:12:02 +01:00
parent 2bd918655d
commit 1f94c59261
2 changed files with 17 additions and 6 deletions

View File

@@ -97,7 +97,9 @@ export default Service.extend({
items.push(EmberObject.create({
name: name,
type: type,
size: item['Content-Length'] || null
isFolder: type === 'folder',
size: item['Content-Length'] || null,
path: path + name
}));
});