DEV: Remove 'legacy ember' logic from discourse-root component (#17494)
This logic should no longer be triggered. The EMBER_GLIMMER_SET_COMPONENT_TEMPLATE gets removed in recent versions of Ember, which can cause it to accidently trigger and cause layout issues with some plugins/themes.
This commit is contained in:
parent
4b935b61eb
commit
d52d479bd4
|
@ -2,10 +2,4 @@ import Component from "@ember/component";
|
|||
|
||||
let componentArgs = { tagName: "div", classNames: ["discourse-root"] };
|
||||
|
||||
// TODO: Once we've moved to Ember CLI completely we can remove this block
|
||||
// eslint-disable-next-line no-undef
|
||||
if (!Ember.FEATURES.EMBER_GLIMMER_SET_COMPONENT_TEMPLATE) {
|
||||
componentArgs = { tagName: "" };
|
||||
}
|
||||
|
||||
export default Component.extend(componentArgs);
|
||||
|
|
Loading…
Reference in New Issue