From 208b1f04ae84412fd13f389da68ff104e169895f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Fri, 16 May 2025 15:38:03 +0400 Subject: [PATCH] Fix web app icon component --- app/components/app_catalog/web_app_icon_component.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/components/app_catalog/web_app_icon_component.rb b/app/components/app_catalog/web_app_icon_component.rb index 0ce082e..ecf2a28 100644 --- a/app/components/app_catalog/web_app_icon_component.rb +++ b/app/components/app_catalog/web_app_icon_component.rb @@ -2,6 +2,8 @@ module AppCatalog class WebAppIconComponent < ViewComponent::Base + include ApplicationHelper + def initialize(web_app:) if web_app&.icon&.attached? @image_url = image_url_for(web_app.icon)