mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 14:46:21 +00:00
fixup! fix: quizas viene vacio
This commit is contained in:
parent
29bae31e08
commit
e8c659be83
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@ class MetadataHasOne < MetadataBelongsTo
|
|||
return true unless changed?
|
||||
return true unless inverse?
|
||||
|
||||
had_one&[inverse]&.value = ''
|
||||
has_one&[inverse]&.value = post.uuid.value
|
||||
had_one[inverse]&.value = '' if had_one
|
||||
has_one[inverse]&.value = post.uuid.value if has_one
|
||||
|
||||
true
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue