Fix app export (#2735)

* fix(frontend): fix app export

* fix(frontend): fix app export
This commit is contained in:
Faton Ramadani
2023-11-30 13:30:18 +01:00
committed by GitHub
parent 06656924ae
commit 56c0d5a755
@@ -49,13 +49,15 @@
>
Copy content
</Button>
<Highlight
class="overflow-auto px-1 flex-1"
language={rawType === 'yaml' ? yaml : json}
code={rawType === 'yaml'
? YAML.stringify(app ?? {})
: JSON.stringify(app ?? {}, null, 4)}
/>
{#key rawType}
<Highlight
class="overflow-auto px-1 flex-1"
language={rawType === 'yaml' ? yaml : json}
code={rawType === 'yaml'
? YAML.stringify(app ?? {})
: JSON.stringify(app ?? {}, null, 4)}
/>
{/key}
</div>
</svelte:fragment>
</Tabs>