fix(app/web): optional extras handling

This commit is contained in:
lowlighter
2022-07-06 23:58:06 -04:00
parent 04c8962a79
commit 6d01f36f31

View File

@@ -424,8 +424,8 @@ export default async function({sandbox = false} = {}) {
`Plugins enabled │ ${enabled.map(({name}) => name).join(", ")}`, `Plugins enabled │ ${enabled.map(({name}) => name).join(", ")}`,
`Templates enabled │ ${templates.filter(({enabled}) => enabled).map(({name}) => name).join(", ")}`, `Templates enabled │ ${templates.filter(({enabled}) => enabled).map(({name}) => name).join(", ")}`,
"── Extras ─────────────────────────────────────────────────────────", "── Extras ─────────────────────────────────────────────────────────",
`Default │ ${conf.settings.extras.default ?? false}`, `Default │ ${conf.settings.extras?.default ?? false}`,
`Features │ ${conf.settings.extras.features ?? "(none)"}`, `Features │ ${conf.settings.extras?.features ?? "(none)"}`,
"───────────────────────────────────────────────────────────────────", "───────────────────────────────────────────────────────────────────",
"Server ready !", "Server ready !",
].join("\n"))) ].join("\n")))