From 866f6b910bb01b4f44851852814003504a06fd71 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Tue, 9 Jul 2024 18:34:18 +0200 Subject: [PATCH] DEV: migrates group-activity-filter to gjs (#27796) --- .../app/components/group-activity-filter.gjs | 16 ++++++++++++++++ .../app/components/group-activity-filter.hbs | 6 ------ .../app/components/group-activity-filter.js | 4 ---- 3 files changed, 16 insertions(+), 10 deletions(-) create mode 100644 app/assets/javascripts/discourse/app/components/group-activity-filter.gjs delete mode 100644 app/assets/javascripts/discourse/app/components/group-activity-filter.hbs delete mode 100644 app/assets/javascripts/discourse/app/components/group-activity-filter.js diff --git a/app/assets/javascripts/discourse/app/components/group-activity-filter.gjs b/app/assets/javascripts/discourse/app/components/group-activity-filter.gjs new file mode 100644 index 00000000000..64cb201969b --- /dev/null +++ b/app/assets/javascripts/discourse/app/components/group-activity-filter.gjs @@ -0,0 +1,16 @@ +import { concat, hash } from "@ember/helper"; +import { LinkTo } from "@ember/routing"; +import i18n from "discourse-common/helpers/i18n"; + +const GroupActivityFilter = ; + +export default GroupActivityFilter; diff --git a/app/assets/javascripts/discourse/app/components/group-activity-filter.hbs b/app/assets/javascripts/discourse/app/components/group-activity-filter.hbs deleted file mode 100644 index d1d182a6dea..00000000000 --- a/app/assets/javascripts/discourse/app/components/group-activity-filter.hbs +++ /dev/null @@ -1,6 +0,0 @@ - - {{i18n (concat "groups." this.filter)}} - \ No newline at end of file diff --git a/app/assets/javascripts/discourse/app/components/group-activity-filter.js b/app/assets/javascripts/discourse/app/components/group-activity-filter.js deleted file mode 100644 index a49f40420e9..00000000000 --- a/app/assets/javascripts/discourse/app/components/group-activity-filter.js +++ /dev/null @@ -1,4 +0,0 @@ -import Component from "@ember/component"; -export default Component.extend({ - tagName: "li", -});