From 532f9cdb1a70a425f306943d233224accdac931b Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Thu, 28 Apr 2022 16:01:58 +0800 Subject: [PATCH] DEV: Partially revert 98c49acad5fbacee543505313998e4f05d0b35c7 (#16578) Use of glimmer component breaks site not on Ember CLI. --- app/assets/javascripts/discourse/app/components/sidebar.js | 3 --- .../javascripts/discourse/app/templates/application.hbs | 4 ---- .../discourse/app/templates/components/sidebar.hbs | 0 3 files changed, 7 deletions(-) delete mode 100644 app/assets/javascripts/discourse/app/components/sidebar.js delete mode 100644 app/assets/javascripts/discourse/app/templates/components/sidebar.hbs diff --git a/app/assets/javascripts/discourse/app/components/sidebar.js b/app/assets/javascripts/discourse/app/components/sidebar.js deleted file mode 100644 index ea096319112..00000000000 --- a/app/assets/javascripts/discourse/app/components/sidebar.js +++ /dev/null @@ -1,3 +0,0 @@ -import GlimmerComponent from "discourse/components/glimmer"; - -export default class Sidebar extends GlimmerComponent {} diff --git a/app/assets/javascripts/discourse/app/templates/application.hbs b/app/assets/javascripts/discourse/app/templates/application.hbs index bca6f6bc06d..6c0944f9059 100644 --- a/app/assets/javascripts/discourse/app/templates/application.hbs +++ b/app/assets/javascripts/discourse/app/templates/application.hbs @@ -26,10 +26,6 @@ {{plugin-outlet name="top-notices" connectorTagName="div" args=(hash currentPath=router._router.currentPath)}} - {{#if currentUser.experimental_sidebar_enabled}} - - {{/if}} - {{outlet}} {{outlet "user-card"}} diff --git a/app/assets/javascripts/discourse/app/templates/components/sidebar.hbs b/app/assets/javascripts/discourse/app/templates/components/sidebar.hbs deleted file mode 100644 index e69de29bb2d..00000000000