Skip to content

Commit

Permalink
Merge pull request #589 from sussol/#588---fix-exipry-date
Browse files Browse the repository at this point in the history
#588 fix expiry dat glitches
  • Loading branch information
Chris-Petty authored Jan 8, 2018
2 parents c1b60ff + 99c363a commit 34a2757
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/pages/SupplierInvoicePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ export class SupplierInvoicePage extends React.Component {
case 'expiryDate': {
return (
<ExpiryTextInput
key={transactionBatch.id}
isEditable={isEditable}
onEndEditing={(newValue) => this.onEndEditing(key, transactionBatch, newValue)}
text={transactionBatch[key]}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/expansions/StocktakeEditExpansion.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class StocktakeEditExpansion extends React.Component {
case 'expiryDate': {
return (
<ExpiryTextInput
key={key}
key={stocktakeBatch.id}
isEditable={isEditable}
onEndEditing={(newValue) => {
this.onEndEditing(key, stocktakeBatch, newValue);
Expand Down

0 comments on commit 34a2757

Please sign in to comment.