From 6d01f36f31c729f07f42eb781d45dd42d7a5a1bf Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Wed, 6 Jul 2022 23:58:06 -0400 Subject: [PATCH] fix(app/web): optional extras handling --- source/app/web/instance.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/app/web/instance.mjs b/source/app/web/instance.mjs index 571c60ac..83147ea4 100644 --- a/source/app/web/instance.mjs +++ b/source/app/web/instance.mjs @@ -424,8 +424,8 @@ export default async function({sandbox = false} = {}) { `Plugins enabled │ ${enabled.map(({name}) => name).join(", ")}`, `Templates enabled │ ${templates.filter(({enabled}) => enabled).map(({name}) => name).join(", ")}`, "── Extras ─────────────────────────────────────────────────────────", - `Default │ ${conf.settings.extras.default ?? false}`, - `Features │ ${conf.settings.extras.features ?? "(none)"}`, + `Default │ ${conf.settings.extras?.default ?? false}`, + `Features │ ${conf.settings.extras?.features ?? "(none)"}`, "───────────────────────────────────────────────────────────────────", "Server ready !", ].join("\n")))