parseJson on resource changes

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