Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed: wrong toast message getting displayed when custom orderLimit value prefilled with 0 (#332) #362

Merged
merged 1 commit into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/OrderLimitPopover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async function showOrderLimitAlert(header: string, message: string, showInput: b
name: "setLimit",
placeholder: translate("Order fulfillment capacity"),
type: "number",
value: props.fulfillmentOrderLimit,
value: props.fulfillmentOrderLimit.toString(),
min: 0
}] : [],
buttons: [{
Expand Down
2 changes: 2 additions & 0 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@
"Please enter a threshold value to set for these products before proceeding.": "Please enter a threshold value to set for these products before proceeding.",
"Please include atleast one facility.": "Please include atleast one facility.",
"Please fill in all the required fields.": "Please fill in all the required fields.",
"Please provide a value": "Please provide a value",
"Please select atleast one channel.": "Please select atleast one channel.",
"Products": "Products",
"Product and facility": "Product and facility",
Expand All @@ -178,6 +179,7 @@
"Products not found": "Products not found",
"products selected": "products selected",
"Provide a future date and time": "Provide a future date and time",
"Provide a value greater than 0": "Provide a value greater than 0",
"Publish": "Publish",
"Ok": "Ok",
"OMS": "OMS",
Expand Down
Loading