From 65aeb6d203c30d83cb3243ba9774891689d4fa7c Mon Sep 17 00:00:00 2001
From: alexisben <alex@noesya.coop>
Date: Wed, 8 Mar 2023 15:22:30 +0100
Subject: [PATCH] resolve component image

---
 .../communication/blocks/components/image/_preview.html.erb      | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app/views/admin/communication/blocks/components/image/_preview.html.erb b/app/views/admin/communication/blocks/components/image/_preview.html.erb
index 39a8bcc73..b6b9532ba 100644
--- a/app/views/admin/communication/blocks/components/image/_preview.html.erb
+++ b/app/views/admin/communication/blocks/components/image/_preview.html.erb
@@ -6,7 +6,6 @@ return unless blob
 <figure>
   <%= kamifusen_tag blob, width: 600, class: 'img-fluid mb-1', alt: component.template.alt %>
   <figcaption>
-    <%#= sanitize component.template.text if component.template.try(:text).present? %>
     <%= sanitize component.template.credit if component.template.try(:credit).present? %>
   </figcaption>
 </figure>
\ No newline at end of file
-- 
GitLab