1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 13:23:07 +01:00

fix: fixes JSON encoding when nested array is found. see #2325 (#2327)

This commit is contained in:
Amir Raminfar
2023-07-28 13:16:05 -07:00
committed by GitHub
parent 3c53e218d1
commit 97f50d696c

View File

@@ -14,8 +14,7 @@
<a @click="toggleField(name)"> {{ hasField(name) ? "remove" : "add" }}&nbsp;</a>
<span class="has-text-grey">{{ name }}=</span>[
<span class="has-text-weight-bold" v-for="(item, index) in value">
{{ item }}
<span v-if="index !== value.length - 1">,</span>
<span v-html="JSON.stringify(item)"></span><span v-if="index !== value.length - 1">,</span>
</span>
]
</template>