Skip to content

Commit b3a8e3c

Browse files
committed
More compact layerviewer
1 parent 1f6d1b1 commit b3a8e3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/src/components/tables/LayerViewer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const { document, job } = defineProps<{ document?: DocumentMetadata; job?: Job }
2323
const name = computed(() => (document ? document.name : job?.tagger.id))
2424
const summary = computed(() => (document ? document.summary : job.summary))
2525
const annotations = computed(() => Object.keys(summary.value.annotations))
26-
const columns = computed(() => annotations.value.map((i) => ({ key: i, label: i })))
26+
const columns = computed(() => annotations.value.map((i) => ({ key: i, label: i, noSort: true })))
2727
const terms = computed(() => (document ? document.preview.terms : job.preview.terms))
2828
const items = computed(() => terms.value.map((t) => t.annotations))
2929
</script>

0 commit comments

Comments
 (0)