DEV: Apply prettier
This commit is contained in:
parent
43c68f6ffd
commit
e78537ac46
|
@ -1,4 +1,4 @@
|
|||
module.exports = {
|
||||
plugins: ["ember-template-lint-plugin-discourse"],
|
||||
extends: "discourse:recommended"
|
||||
extends: "discourse:recommended",
|
||||
};
|
||||
|
|
|
@ -29,10 +29,10 @@ export default UserTopicsList.extend({
|
|||
params: {
|
||||
order: this.order,
|
||||
ascending: this.ascending,
|
||||
q: this.q
|
||||
}
|
||||
q: this.q,
|
||||
},
|
||||
})
|
||||
.then(result => this.set("model", result))
|
||||
.then((result) => this.set("model", result))
|
||||
.finally(() => {
|
||||
this.set("loading", false);
|
||||
});
|
||||
|
@ -59,6 +59,6 @@ export default UserTopicsList.extend({
|
|||
},
|
||||
onChangeFilter(value) {
|
||||
debounce(this, this._setSearchTerm, value, INPUT_DELAY * 2);
|
||||
}
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
@ -2,7 +2,6 @@ import I18n from "I18n";
|
|||
import UserTopicListRoute from "discourse/routes/user-topic-list";
|
||||
|
||||
export default UserTopicListRoute.extend({
|
||||
|
||||
userActionType: 16,
|
||||
noContentHelpKey: "discourse_assigns.no_assigns",
|
||||
|
||||
|
@ -16,7 +15,7 @@ export default UserTopicListRoute.extend({
|
|||
exclude_category_ids: [-1],
|
||||
order: params.order,
|
||||
ascending: params.ascending,
|
||||
q: params.q
|
||||
q: params.q,
|
||||
},
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue