mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 20:43:19 +08:00
remove unecessary console.logsss
This commit is contained in:
parent
4d6028ea2d
commit
9573e28df9
|
@ -15,18 +15,14 @@ const DiscoveryCategoriesRoute = Discourse.Route.extend(OpenComposer, {
|
|||
},
|
||||
|
||||
model() {
|
||||
console.log("ENTERING MODEL");
|
||||
return CategoryList.list(this.store, 'categories').then(list => {
|
||||
console.log("GOT THE LIST");
|
||||
const tracking = this.topicTrackingState;
|
||||
if (tracking) {
|
||||
tracking.sync(list, "categories");
|
||||
tracking.trackIncoming("categories");
|
||||
}
|
||||
console.log("RETURNING LIST");
|
||||
return list;
|
||||
});
|
||||
console.log("LEAVING MODEL");
|
||||
},
|
||||
|
||||
titleToken() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user