From 5dc2049a56241f443eea62e15d2f5e5f78031157 Mon Sep 17 00:00:00 2001 From: Steffen Waldmann Date: Sun, 19 Jul 2026 14:35:48 +0200 Subject: [PATCH] Fix Config popup for string values --- .vitepress/theme/components/ConfigInspect.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vitepress/theme/components/ConfigInspect.vue b/.vitepress/theme/components/ConfigInspect.vue index 617720ef7..73f4be510 100644 --- a/.vitepress/theme/components/ConfigInspect.vue +++ b/.vitepress/theme/components/ConfigInspect.vue @@ -120,7 +120,7 @@ pkgStr.value = JSON.stringify(pkg, null, 2) rcJsonStr.value = JSON.stringify(pkg.cds??{}, null, 2) - rcJsStr.value = 'exports.' + Object.keys(pkg.cds??{})[0] + ' = ' + (JSON.stringify(Object.values(pkg.cds??{})[0], null, 2)??'').replaceAll('"', '') + rcJsStr.value = 'exports.' + Object.keys(pkg.cds??{})[0] + ' = ' + (JSON.stringify(Object.values(pkg.cds??{})[0], null, 2)??'').replace(/"([^"]+)":/g, '$1:') rcYmlStr.value = yaml.stringify(pkg.cds) let envKey = fqn.replaceAll('_', '__').replaceAll(keyDel, '_')