Skip to content

Commit

Permalink
fix: check display_depends_on condition only if depends_on is set
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Sep 13, 2024
1 parent df76b8a commit ae2af24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/Fields.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
(field.read_only && data[field.name]) ||
!field.read_only ||
!field.hidden) &&
field.display_depends_on
(!field.depends_on || field.display_depends_on)
"
>
<div
Expand Down

0 comments on commit ae2af24

Please sign in to comment.