0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 09:20:29 +01:00
Dieser Commit ist enthalten in:
Angus McLeod 2022-07-27 14:40:48 +01:00
Ursprung 150afb29e0
Commit c3bec5a3e9

Datei anzeigen

@ -4,8 +4,8 @@ import DiscourseRoute from "discourse/routes/discourse";
export default DiscourseRoute.extend({ export default DiscourseRoute.extend({
titleToken() { titleToken() {
const wizard = this.modelFor('custom-wizard'); const wizard = this.modelFor("custom-wizard");
return wizard ? (wizard.name || wizard.id) : I18n.t('wizard.custom_title'); return wizard ? wizard.name || wizard.id : I18n.t("wizard.custom_title");
}, },
beforeModel(transition) { beforeModel(transition) {