parseJson on resource changes

This commit is contained in:
Ruben Fiszel
2023-01-30 03:55:01 +01:00
parent c5f3499962
commit 77705f237a
@@ -47,6 +47,8 @@
let rawCode = ''
let viewJsonSchema = false
$: rawCode && parseJson()
function switchTab(asJson: boolean) {
viewJsonSchema = asJson
if (asJson) {