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