Skip to content

Commit

Permalink
updating block admin enque
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzevic committed Jan 17, 2024
1 parent b0a2af5 commit 29c3bf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/Config/UtilsConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,6 @@ class UtilsConfig
public const FD_RESPONSE_OUTPUT_DATA = 'responseOutputData';
public const FD_ADDON = 'addon';
public const FD_SUCCESS_REDIRECT = 'successRedirect';
public const FD_VALIDATION = 'validation';

// ------------------------------------------------------------------
// Integration API response details data Keys
Expand All @@ -500,7 +499,7 @@ class UtilsConfig
public const IARD_ITEM_ID = self::FD_ITEM_ID;
public const IARD_FORM_ID = self::FD_FORM_ID;
public const IARD_IS_DISABLED = 'isDisabled';
public const IARD_VALIDATION = self::FD_VALIDATION;
public const IARD_VALIDATION = 'validation';

// ------------------------------------------------------------------
// CAPS
Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/UtilsApiHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public static function getIntegrationApiPublicOutput(array $formDetails, string
$allowedOutput = [
UtilsConfig::FD_SUCCESS_REDIRECT => UtilsHelper::getStateResponseOutputKey('successRedirect'),
UtilsConfig::FD_ADDON => UtilsHelper::getStateResponseOutputKey('addon'),
UtilsConfig::FD_VALIDATION => UtilsHelper::getStateResponseOutputKey('validation'),
UtilsConfig::IARD_VALIDATION => UtilsHelper::getStateResponseOutputKey('validation'),
];

// Populate additional output with allowed keys and aproppriate allowed output keys used in JS.
Expand Down

0 comments on commit 29c3bf5

Please sign in to comment.