Skip to content

Commit

Permalink
fix : fix adding new stock operation bug (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
jabahum authored Jan 8, 2024
1 parent c9fe2ba commit 1159387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stock-operations/stock-operation.utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const launchAddOrEditDialog = (
isEditing={isEditing}
operation={operation}
canEdit={
isEditing ? (stockOperation.status === "NEW" ? true : false) : false
isEditing ? (stockOperation.status === "NEW" ? true : false) : true
}
/>
);
Expand Down

0 comments on commit 1159387

Please sign in to comment.