Skip to content

A platform for community discussion. Free, open, simple.

FIX: Correct issues in admin-embeddable-host (#20439)

David Taylor1dca7b8b0a3f
diff --git a/app/assets/javascripts/admin/addon/components/embeddable-host.js b/app/assets/javascripts/admin/addon/components/embeddable-host.js
index 54e9d102a4a..2375aa81412 100644
--- a/app/assets/javascripts/admin/addon/components/embeddable-host.js
+++ b/app/assets/javascripts/admin/addon/components/embeddable-host.js
@@ -21,8 +21,8 @@ export default class EmbeddableHost extends Component.extend(
@or("host.isNew", "editToggled") editing;
- constructor() {
- super(...arguments);
+ init() {
+ super.init(...arguments);
const host = this.host;
const categoryId = host.category_id || this.site.uncategorized_category_id;