0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-26 11:00:28 +01:00

FIX: javascript exception during initialisation

Dieser Commit ist enthalten in:
merefield 2023-07-07 11:03:44 +01:00
Ursprung ebd25f2780
Commit 852849cec7

Datei anzeigen

@ -1,5 +1,3 @@
import ApplicationRoute from "discourse/routes/application";
export default {
name: "custom-wizard-redirect",
after: "message-bus",
@ -17,6 +15,8 @@ export default {
window.location.href = wizardUrl;
});
const ApplicationRoute = requirejs("discourse/routes/application").default
ApplicationRoute.reopen({
actions: {
willTransition(transition) {