From 6742da2fcea507a074573d952227305e9ac5b522 Mon Sep 17 00:00:00 2001 From: r-dev Date: Sat, 4 Apr 2026 16:42:53 +0200 Subject: [PATCH] =?UTF-8?q?feat(ui)=20:=20align=20entity=20detail=20pages?= =?UTF-8?q?=20=E2=80=94=20category=20links=20and=20version=20lists=20on=20?= =?UTF-8?q?all=20three?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/app/pages/component/[id]/index.vue | 2 ++ frontend/app/pages/product/[id]/index.vue | 2 ++ 2 files changed, 4 insertions(+) diff --git a/frontend/app/pages/component/[id]/index.vue b/frontend/app/pages/component/[id]/index.vue index 39b972b..c4fa04f 100644 --- a/frontend/app/pages/component/[id]/index.vue +++ b/frontend/app/pages/component/[id]/index.vue @@ -464,6 +464,7 @@ const { getConstructeurById } = useConstructeurs() const { updateDocument } = useDocuments() const isEditMode = ref(false) +const versionRefreshKey = ref(0) const { component, @@ -512,6 +513,7 @@ const submitEdition = async () => { if (!saving.value) { await fetchComponent() isEditMode.value = false + versionRefreshKey.value++ } } diff --git a/frontend/app/pages/product/[id]/index.vue b/frontend/app/pages/product/[id]/index.vue index 51de9e1..603380b 100644 --- a/frontend/app/pages/product/[id]/index.vue +++ b/frontend/app/pages/product/[id]/index.vue @@ -366,6 +366,7 @@ const { } = useProductHistory() const isEditMode = ref(false) +const versionRefreshKey = ref(0) const constructeurLinks = ref([]) const originalConstructeurLinks = ref([]) @@ -630,6 +631,7 @@ const submitEdition = async () => { toast.showSuccess('Produit mis à jour avec succès') await loadProduct() isEditMode.value = false + versionRefreshKey.value++ } } catch (error: any) { toast.showError(humanizeError(error?.message) || 'Impossible de mettre à jour le produit')