Refactor categories into rootListing

This uses proper paths with slashes everywhere, and lists documents
instead of just folders for root.
This commit is contained in:
2017-11-12 20:46:31 +01:00
parent 287a999207
commit 2008ed5634
9 changed files with 67 additions and 32 deletions

View File

@@ -26,7 +26,7 @@ export default Route.extend({
this._super(controller, model);
if (isEmpty(this.get('storage.categories')) && this.get('storage.connected')) {
this.get('storage').fetchCategories();
this.get('storage').fetchRootListing();
}
}