Compare commits
3 Commits
307095bfd0
...
520552ec70
Author | SHA1 | Date | |
---|---|---|---|
520552ec70 | |||
208b1f04ae | |||
8049f81b73 |
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user