From 1c5e76b221be71334f213a10f8ea5e1aac1a059c Mon Sep 17 00:00:00 2001 From: Davide Di Modica Date: Mon, 2 Sep 2024 10:35:24 +0200 Subject: [PATCH] fix CodeSource component --- frontend/src/components/common/CodeSource.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/common/CodeSource.vue b/frontend/src/components/common/CodeSource.vue index a1930ef3..879a49d0 100644 --- a/frontend/src/components/common/CodeSource.vue +++ b/frontend/src/components/common/CodeSource.vue @@ -2,7 +2,7 @@
-

+				

 			
@@ -37,5 +37,5 @@ const { code, lang } = defineProps<{ }>() const showSource = ref(false) -const source = computed(() => code.toString()) +const source = computed(() => JSON.stringify(code, null, "\t"))