From 6ab6282435beaac916791ec26e39991c79cf58b8 Mon Sep 17 00:00:00 2001 From: Flupsi Date: Thu, 5 Jun 2025 18:51:19 +0200 Subject: [PATCH] feat(front): remove unnecessary element --- front/src/components/library/EditForm.vue | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/front/src/components/library/EditForm.vue b/front/src/components/library/EditForm.vue index a6eb317cd..90aa5f87d 100644 --- a/front/src/components/library/EditForm.vue +++ b/front/src/components/library/EditForm.vue @@ -358,12 +358,10 @@ const resetField = (fieldId: string) => { primary :disabled="isLoading || !mutationPayload" > - - {{ t('components.library.EditForm.button.submit') }} - - - {{ t('components.library.EditForm.button.suggest') }} - + {{ canEdit + ? t('components.library.EditForm.button.submit') + : t('components.library.EditForm.button.suggest') + }}