mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Domain version bug of not displaying name fixed
This commit is contained in:
parent
251629ec35
commit
889ff9ab4a
2 changed files with 7 additions and 2 deletions
|
@ -16,6 +16,12 @@ class DomainVersion < PaperTrail::Version
|
|||
false
|
||||
end
|
||||
|
||||
def name
|
||||
name = reify.try(:name)
|
||||
name = load_snapshot[:domain].try(:[], :name) unless name
|
||||
name
|
||||
end
|
||||
|
||||
def changed_elements
|
||||
return [] unless previous?
|
||||
@changes = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue