From bd69b37524e2b9634f3f1667911fb25ee6584a83 Mon Sep 17 00:00:00 2001 From: Matthieu Date: Mon, 23 Mar 2026 15:33:59 +0100 Subject: [PATCH] feat(documents) : add type badge and edit button to DocumentListInline Co-Authored-By: Claude Opus 4.6 (1M context) --- app/components/common/DocumentListInline.vue | 16 +++++++++++++++- app/composables/useEntityDocuments.ts | 16 +++++++++++++++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/app/components/common/DocumentListInline.vue b/app/components/common/DocumentListInline.vue index 7b4c8ca..df6306c 100644 --- a/app/components/common/DocumentListInline.vue +++ b/app/components/common/DocumentListInline.vue @@ -31,8 +31,9 @@ />
-
+
{{ document.name }} + {{ getDocumentTypeLabel(document.type || 'documentation') }}
{{ document.mimeType || 'Inconnu' }} • {{ formatSize(document.size) }} @@ -40,6 +41,15 @@
+