diff --git a/assets/javascripts/discourse/routes/admin-wizards-api-show.js.es6 b/assets/javascripts/discourse/routes/admin-wizards-api-show.js.es6 index 897608ac..bfe90f72 100644 --- a/assets/javascripts/discourse/routes/admin-wizards-api-show.js.es6 +++ b/assets/javascripts/discourse/routes/admin-wizards-api-show.js.es6 @@ -11,7 +11,7 @@ export default DiscourseRoute.extend({ }, afterModel(model) { - if (!model) { + if (model === null) { return this.transitionTo("adminWizardsApi"); } },