Skip to content

Commit 07c0e72

Browse files
committed
Fixes from summary.annotations rename
1 parent dfb2ff5 commit 07c0e72

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

client/src/components/modals/jobs/JobModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
</GInfo>
9494

9595
<!-- Layer preview -->
96-
<LayerViewer v-if="job.summary.tokens > 0" :job />
96+
<LayerViewer v-if="job.summary.annotations.token > 0" :job />
9797
</template>
9898

9999
<!-- delete job modal -->

client/src/stores/documents.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const documents = defineStore("documents", () => {
3131
[],
3232
)
3333

34-
const numSourceAnnotations = computed(() => documents.value.filter((i) => i.summary?.tokens > 0).length)
34+
const numSourceAnnotations = computed(() => documents.value.filter((i) => i.summary?.annotations.token > 0).length)
3535
const uploading: Record<string, FileStatus> = reactive({})
3636
const uploadBusyCount = computed(() => Object.values(uploading).filter((i) => i.status === "busy").length)
3737
const uploadErrorCount = computed(() => Object.values(uploading).filter((i) => i.status === "error").length)

0 commit comments

Comments
 (0)