From d5dd5bfb5558551d0cfd4087d4f6ec7eb1af3776 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Thu, 11 Jul 2024 11:53:05 +0200 Subject: [PATCH] DEV: migrates empty-state to gjs (#27857) Technically there was a wrapping div here, but that shouldn't be necessary. --- .../discourse/app/components/empty-state.gjs | 12 ++++++++++++ .../discourse/app/components/empty-state.hbs | 8 -------- .../discourse/app/components/empty-state.js | 3 --- 3 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 app/assets/javascripts/discourse/app/components/empty-state.gjs delete mode 100644 app/assets/javascripts/discourse/app/components/empty-state.hbs delete mode 100644 app/assets/javascripts/discourse/app/components/empty-state.js diff --git a/app/assets/javascripts/discourse/app/components/empty-state.gjs b/app/assets/javascripts/discourse/app/components/empty-state.gjs new file mode 100644 index 00000000000..4587a308f41 --- /dev/null +++ b/app/assets/javascripts/discourse/app/components/empty-state.gjs @@ -0,0 +1,12 @@ +const EmptyState = ; + +export default EmptyState; diff --git a/app/assets/javascripts/discourse/app/components/empty-state.hbs b/app/assets/javascripts/discourse/app/components/empty-state.hbs deleted file mode 100644 index 3db22a16f62..00000000000 --- a/app/assets/javascripts/discourse/app/components/empty-state.hbs +++ /dev/null @@ -1,8 +0,0 @@ -
-
- {{@title}} -
-

{{@body}}

-
-
-
\ No newline at end of file diff --git a/app/assets/javascripts/discourse/app/components/empty-state.js b/app/assets/javascripts/discourse/app/components/empty-state.js deleted file mode 100644 index 87d5ddb040f..00000000000 --- a/app/assets/javascripts/discourse/app/components/empty-state.js +++ /dev/null @@ -1,3 +0,0 @@ -import Component from "@ember/component"; - -export default Component.extend({});