Skip to content

Commit 179369e

Browse files
committed
conditional - set true for on_off
1 parent 7b2c65b commit 179369e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui-definitions/settings-video.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
'default' => '500',
8686
'suffix' => 'k',
8787
'condition' => array(
88-
'video_limit_bitrate' => 'on',
88+
'video_limit_bitrate' => true,
8989
),
9090
'attributes' => array(
9191
'data-context' => 'video',
@@ -113,7 +113,7 @@
113113
'title' => __( 'Advanced optimization', 'cloudinary' ),
114114
'collapsible' => 'open',
115115
'condition' => array(
116-
'video_optimization' => 'on',
116+
'video_optimization' => true,
117117
),
118118
array(
119119
'type' => 'select',

0 commit comments

Comments
 (0)