Skip to content

Commit

Permalink
UIOR-1169 Increase the game changer timeout to 50ms (#1520)
Browse files Browse the repository at this point in the history
* UIOR-1169 Increase the game changer timeout to 50ms

* add temp debug logs for rancher testing

* remove debug logs

* fix receipt status value change
  • Loading branch information
usavkov-epam committed Nov 8, 2023
1 parent 2574960 commit bc23d99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/POLine/POLineDetails/POLineDetailsForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function POLineDetailsForm({
);

const onReceiptStatusChange = useCallback(({ target: { value } }) => {
change('receiptStatus', value);
change('receiptStatus', value || undefined);

if (!isPostPendingOrder && isReceiptNotRequired(value)) {
change('checkinItems', true);
Expand Down
2 changes: 1 addition & 1 deletion src/components/POLine/POLineForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ import styles from './POLineForm.css';
import { createPOLDataFromInstance } from './Item/util';

const GAME_CHANGER_FIELDS = ['isPackage', 'orderFormat', 'checkinItems', 'packagePoLineId', 'instanceId'];
const GAME_CHANGER_TIMEOUT = 20;
const GAME_CHANGER_TIMEOUT = 50;

function POLineForm({
form: { change, batch, getRegisteredFields },
Expand Down

0 comments on commit bc23d99

Please sign in to comment.