remove unecessary console.logsss

This commit is contained in:
Régis Hanol 2016-08-22 23:03:40 +02:00
parent 4d6028ea2d
commit 9573e28df9
1 changed files with 0 additions and 4 deletions

View File

@ -15,18 +15,14 @@ const DiscoveryCategoriesRoute = Discourse.Route.extend(OpenComposer, {
}, },
model() { model() {
console.log("ENTERING MODEL");
return CategoryList.list(this.store, 'categories').then(list => { return CategoryList.list(this.store, 'categories').then(list => {
console.log("GOT THE LIST");
const tracking = this.topicTrackingState; const tracking = this.topicTrackingState;
if (tracking) { if (tracking) {
tracking.sync(list, "categories"); tracking.sync(list, "categories");
tracking.trackIncoming("categories"); tracking.trackIncoming("categories");
} }
console.log("RETURNING LIST");
return list; return list;
}); });
console.log("LEAVING MODEL");
}, },
titleToken() { titleToken() {