From 6ca550c3dd52b4e4e3ba09a13d4e5cd220ccbced Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Tue, 7 Nov 2023 10:46:45 -0500 Subject: [PATCH] Fixes rendering of an empty page by ensuring default content, even if empty. --- client/src/components/Markdown/Markdown.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Markdown/Markdown.vue b/client/src/components/Markdown/Markdown.vue index af2423ca94e7..2d84435e7db5 100644 --- a/client/src/components/Markdown/Markdown.vue +++ b/client/src/components/Markdown/Markdown.vue @@ -186,7 +186,7 @@ export default { initConfig() { if (Object.keys(this.markdownConfig).length) { const config = this.markdownConfig; - const markdown = config.content || config.markdown; + const markdown = config.content || config.markdown || ""; this.markdownErrors = config.errors || []; this.markdownObjects = this.splitMarkdown(markdown); this.datasets = config.history_datasets || {};