Skip to content

Commit

Permalink
feat: table header of inner of simple dict (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hieuzest authored Feb 8, 2025
1 parent 03e2bcf commit b1ea0fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/form/src/extensions/table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{{ tt(schema.sKey?.meta.description) || t('entry.key') }}
</th>
<th v-for="([key, schema]) in columns" :key="key">
<span>{{ key === null ? t('entry.value') : tt(schema.meta.description) || key }}</span>
<span>{{ tt(schema.meta.description) || key || t('entry.value') }}</span>
<k-badge :type="type" v-for="{ text, type } in schema.meta.badges || []">
{{ t('badge.' + text) }}
</k-badge>
Expand Down

0 comments on commit b1ea0fc

Please sign in to comment.