From 671e8191ee677c46ddfbffa1681d1639aa89e45e Mon Sep 17 00:00:00 2001 From: John Chilton Date: Mon, 15 May 2023 09:33:14 -0400 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: David López <46503462+davelopez@users.noreply.github.com> --- client/src/components/ObjectStore/ConfigurationMarkdown.vue | 2 +- client/src/components/ObjectStore/ObjectStoreBadge.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/ObjectStore/ConfigurationMarkdown.vue b/client/src/components/ObjectStore/ConfigurationMarkdown.vue index d9fa3d321f6e..15c870afb037 100644 --- a/client/src/components/ObjectStore/ConfigurationMarkdown.vue +++ b/client/src/components/ObjectStore/ConfigurationMarkdown.vue @@ -6,7 +6,7 @@ interface Props { admin: boolean; // was the configuration specified by an admin } const props = defineProps(); -const markdownHtml = computed(() => markup(props.markdown || "", props.admin)); +const markdownHtml = computed(() => markup(props.markdown ?? "", props.admin));