From 0c2145ee5ed05c296ee129a71282713f14991c43 Mon Sep 17 00:00:00 2001 From: khansadaoudi Date: Thu, 12 Sep 2024 10:26:24 +0200 Subject: [PATCH] use tags from get samples --- src/api/backend-types.ts | 1 + src/components/project/StatisticsProject.vue | 32 +++++++------------- src/pages/Project.vue | 2 +- 3 files changed, 13 insertions(+), 22 deletions(-) diff --git a/src/api/backend-types.ts b/src/api/backend-types.ts index cd7d5539..c4d0b9da 100644 --- a/src/api/backend-types.ts +++ b/src/api/backend-types.ts @@ -87,6 +87,7 @@ export interface sample_t { tokens: number; blindAnnotationLevel: number; treeByUser: { [key: string]: number }; + tags: { [key: string]: number }; } //// GREW diff --git a/src/components/project/StatisticsProject.vue b/src/components/project/StatisticsProject.vue index 1ea00e16..6b25be37 100644 --- a/src/components/project/StatisticsProject.vue +++ b/src/components/project/StatisticsProject.vue @@ -108,14 +108,14 @@
- +
{{ $t('projectStats.usedTags') }}
- +
@@ -123,7 +123,7 @@ \ No newline at end of file diff --git a/src/pages/Project.vue b/src/pages/Project.vue index 097eb021..0f9460a6 100644 --- a/src/pages/Project.vue +++ b/src/pages/Project.vue @@ -36,7 +36,7 @@ - +