From 73cdd2bc4dab9e44836d03683cd39baf4f7dca8f Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Tue, 1 Sep 2020 21:28:14 +1000 Subject: [PATCH] Select-kit directory now needs to be manually injected --- assets/javascripts/wizard-custom-start.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/assets/javascripts/wizard-custom-start.js b/assets/javascripts/wizard-custom-start.js index 99937b5f..2602b605 100644 --- a/assets/javascripts/wizard-custom-start.js +++ b/assets/javascripts/wizard-custom-start.js @@ -1,4 +1,11 @@ (function() { var wizard = require('discourse/plugins/discourse-custom-wizard/wizard/custom-wizard').default.create(); wizard.start(); + + Object.keys(Ember.TEMPLATES).forEach(k => { + if (k.indexOf("select-kit") === 0) { + let template = Ember.TEMPLATES[k]; + define(k, () => template); + } + }); })();