This commit is contained in:
Christoph Haas 2025-06-16 00:24:21 +02:00
parent b601b2bbb6
commit 8d354785dc

View file

@ -19,9 +19,9 @@ class Screenshot < ApplicationRecord
# Otherwise it falls back to the general description of its package. # Otherwise it falls back to the general description of its package.
def caption def caption
if description.present? if description.present?
"#{description}" description
else else
"#{package.description}" package.description
end end
end end