5
0
Fork 0
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:
f 2023-04-08 17:54:07 -03:00
parent 29bae31e08
commit e8c659be83

View file

@ -17,8 +17,8 @@ class MetadataHasOne < MetadataBelongsTo
return true unless changed? return true unless changed?
return true unless inverse? return true unless inverse?
had_one&[inverse]&.value = '' had_one[inverse]&.value = '' if had_one
has_one&[inverse]&.value = post.uuid.value has_one[inverse]&.value = post.uuid.value if has_one
true true
end end