diff --git a/lib/rails_admin/config/fields/types/active_storage.rb b/lib/rails_admin/config/fields/types/active_storage.rb index 20fe7b472..4e874f398 100644 --- a/lib/rails_admin/config/fields/types/active_storage.rb +++ b/lib/rails_admin/config/fields/types/active_storage.rb @@ -61,7 +61,7 @@ def resource_url(thumb = false) def value attachment = super - attachment if attachment&.attached? + attachment if !attachment&.new_record? && attachment&.attached? end end end