Skip to content

Commit

Permalink
Fixes rendering of an empty page by ensuring default content, even if…
Browse files Browse the repository at this point in the history
… empty.
  • Loading branch information
dannon committed Nov 8, 2023
1 parent df9c9b5 commit 496ecc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Markdown/Markdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,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 || {};
Expand Down

0 comments on commit 496ecc2

Please sign in to comment.