mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 16:36:21 +00:00
Merge branch 'issue-15068' into production.panel.sutty.nl
This commit is contained in:
commit
ee04075c5a
1 changed files with 3 additions and 1 deletions
|
@ -19,8 +19,10 @@ module Metadata
|
||||||
|
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
|
# El campo está deshabilitado si está completo y no incluye el
|
||||||
|
# post actual.
|
||||||
if inverse?
|
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
|
end
|
||||||
|
|
||||||
[title(p), p.uuid.value, disabled]
|
[title(p), p.uuid.value, disabled]
|
||||||
|
|
Loading…
Reference in a new issue