Pass a boolean to the map to check if the new settings module is enabled

This commit is contained in:
Narek Zakarian 2025-02-28 19:47:03 +04:00
parent e06ea0036f
commit c8d9a142ea
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

@ -190,7 +190,8 @@ return array(
$container->get( 'compat.settings.styling_map_helper' ),
$container->get( 'compat.settings.settings_tab_map_helper' ),
$container->get( 'compat.settings.subscription_map_helper' ),
$container->get( 'compat.settings.general_map_helper' )
$container->get( 'compat.settings.general_map_helper' ),
$container->get( 'wcgateway.settings.admin-settings-enabled' )
);
},
'compat.settings.styling_map_helper' => static function() : StylingSettingsMapHelper {