Skip to content

Commit ab1e5a9

Browse files
committed
Fix JSON Schema rendering
1 parent d1ac3ee commit ab1e5a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/JsonSchema.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
</td>
6464
</tr>
6565
</template>
66-
<template v-if="sortedSchema">
66+
<template v-if="sortedSchema.length > 0">
6767
<tr v-for="[key, val] in sortedSchema" :key="key">
6868
<td class="key">{{ formatKey(key) }}:</td>
6969
<td class="value">

0 commit comments

Comments
 (0)