Skip to content

Commit

Permalink
[5.x] Show toggle UI in conditions builder for revealer fields (#10867)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseleite authored Oct 1, 2024
1 parent c2643fd commit 2d3bdc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/field-conditions/Condition.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default {
showValueToggle() {
return this.field
&& ['toggle'].includes(this.field.config.type)
&& ['toggle', 'revealer'].includes(this.field.config.type)
&& ['equals', 'not', '===', '!=='].includes(this.condition.operator);
},
Expand Down

0 comments on commit 2d3bdc6

Please sign in to comment.