From c3bec5a3e90848d5f29a643eb2b4530e1df26234 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Wed, 27 Jul 2022 14:40:48 +0100 Subject: [PATCH] Fix linting --- assets/javascripts/discourse/routes/custom-wizard.js.es6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/javascripts/discourse/routes/custom-wizard.js.es6 b/assets/javascripts/discourse/routes/custom-wizard.js.es6 index 63b5f20e..8509bdaf 100644 --- a/assets/javascripts/discourse/routes/custom-wizard.js.es6 +++ b/assets/javascripts/discourse/routes/custom-wizard.js.es6 @@ -4,8 +4,8 @@ import DiscourseRoute from "discourse/routes/discourse"; export default DiscourseRoute.extend({ titleToken() { - const wizard = this.modelFor('custom-wizard'); - return wizard ? (wizard.name || wizard.id) : I18n.t('wizard.custom_title'); + const wizard = this.modelFor("custom-wizard"); + return wizard ? wizard.name || wizard.id : I18n.t("wizard.custom_title"); }, beforeModel(transition) {