From a4a1718e94c8cfb10dfb68233f9ee15360e36c68 Mon Sep 17 00:00:00 2001 From: Jesse Leite Date: Mon, 30 Sep 2024 18:12:52 -0400 Subject: [PATCH] Show toggle UI in conditions builder for revealer fields. --- resources/js/components/field-conditions/Condition.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/components/field-conditions/Condition.vue b/resources/js/components/field-conditions/Condition.vue index 364757bdc1..735395eaa0 100644 --- a/resources/js/components/field-conditions/Condition.vue +++ b/resources/js/components/field-conditions/Condition.vue @@ -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); },