mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 05:34:46 +02:00
added fix
This commit is contained in:
parent
a87c7524ec
commit
739752ec59
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@
|
|||
- else
|
||||
- contact = Contact.all_versions_for([domain.registrant_id], version.created_at).first
|
||||
- if contact.nil? && ver = Version::ContactVersion.where(item_id: domain.registrant_id).last
|
||||
- contact = Contact.new(ver.object.to_h.merge(ver.object_changes.to_h.each_with_object({}) {|(k,v), o| o[k] = v.last }))
|
||||
- contact = Contact.new(ver.object.to_h.merge(ver.object_changes.to_h&.slice(*valid_columns)))
|
||||
= contact.try(:name)
|
||||
= " ".html_safe
|
||||
= "(#{t(:deleted)})"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue