5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 16:26:21 +00:00

Merge branch 'issue-15068' into production.panel.sutty.nl

This commit is contained in:
f 2024-10-23 14:19:33 -03:00
commit ee04075c5a
No known key found for this signature in database

View file

@ -19,8 +19,10 @@ module Metadata
disabled = false
# El campo está deshabilitado si está completo y no incluye el
# post actual.
if inverse?
disabled = p[inverse].empty? || ![p[inverse].value].flatten.include?(post.uuid.value)
disabled = p[inverse].present? && ![p[inverse].value].flatten.include?(post.uuid.value)
end
[title(p), p.uuid.value, disabled]