@@ -574,7 +574,9 @@
|
||||
"create": {
|
||||
"header": "Create Option",
|
||||
"successToast": "Option {{title}} was successfully created."
|
||||
}
|
||||
},
|
||||
"deleteWarning": "You are about to delete the product option: {{title}}. This action cannot be undone."
|
||||
|
||||
},
|
||||
"organization": {
|
||||
"header": "Organize",
|
||||
|
||||
@@ -20,8 +20,8 @@ const OptionActions = ({
|
||||
const handleDelete = async () => {
|
||||
const res = await prompt({
|
||||
title: t("general.areYouSure"),
|
||||
description: t("products.deleteWarning", {
|
||||
title: product.title,
|
||||
description: t("products.options.deleteWarning", {
|
||||
title: option.title,
|
||||
}),
|
||||
confirmText: t("actions.delete"),
|
||||
cancelText: t("actions.cancel"),
|
||||
|
||||
Reference in New Issue
Block a user