Skip to content

Commit

Permalink
Simplified options for select.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Oct 30, 2023
1 parent 73985eb commit 08294f1
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/Integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,10 @@ public function get_settings_fields() {
'title' => \_x( 'Environment', 'adyen', 'pronamic_ideal' ),
'type' => 'select',
'options' => [
[
'options' => [
'live' => \__( 'Live - Europe', 'pronamic_ideal' ),
'live-apse' => \__( 'Live - Asia Pacific South East', 'pronamic_ideal' ),
'live-au' => \__( 'Live - Australia', 'pronamic_ideal' ),
'live-us' => \__( 'Live - United States', 'pronamic_ideal' ),
],
],
'live' => \__( 'Live - Europe', 'pronamic_ideal' ),
'live-apse' => \__( 'Live - Asia Pacific South East', 'pronamic_ideal' ),
'live-au' => \__( 'Live - Australia', 'pronamic_ideal' ),
'live-us' => \__( 'Live - United States', 'pronamic_ideal' ),
],
'required' => true,
];
Expand Down

0 comments on commit 08294f1

Please sign in to comment.