Skip to content

Commit

Permalink
Show toggle UI in conditions builder for revealer fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseleite committed Sep 30, 2024
1 parent 5e637d7 commit a4a1718
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 a4a1718

Please sign in to comment.