2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00
discourse/app/assets/javascripts/discourse/components/user-summary-category-search.js.es6
2018-07-22 22:00:41 -04:00

10 lines
253 B
JavaScript

import computed from "ember-addons/ember-computed-decorators";
export default Ember.Component.extend({
tagName: "",
@computed("user", "category")
searchParams() {
return `@${this.get("user.username")} #${this.get("category.slug")}`;
}
});