DEV: migrates group-activity-filter to gjs (#27796)
This commit is contained in:
parent
7a7bdc9be5
commit
866f6b910b
|
@ -0,0 +1,16 @@
|
|||
import { concat, hash } from "@ember/helper";
|
||||
import { LinkTo } from "@ember/routing";
|
||||
import i18n from "discourse-common/helpers/i18n";
|
||||
|
||||
const GroupActivityFilter = <template>
|
||||
<li>
|
||||
<LinkTo
|
||||
@route={{concat "group.activity." @filter}}
|
||||
@query={{hash category_id=@categoryId}}
|
||||
>
|
||||
{{i18n (concat "groups." @filter)}}
|
||||
</LinkTo>
|
||||
</li>
|
||||
</template>;
|
||||
|
||||
export default GroupActivityFilter;
|
|
@ -1,6 +0,0 @@
|
|||
<LinkTo
|
||||
@route={{concat "group.activity." this.filter}}
|
||||
@query={{hash category_id=this.categoryId}}
|
||||
>
|
||||
{{i18n (concat "groups." this.filter)}}
|
||||
</LinkTo>
|
|
@ -1,4 +0,0 @@
|
|||
import Component from "@ember/component";
|
||||
export default Component.extend({
|
||||
tagName: "li",
|
||||
});
|
Loading…
Reference in New Issue