fix conversion for mxn and try currencies

This commit is contained in:
Gregory Tertyshny 2024-07-17 21:01:52 +03:00
parent d7676019d0
commit eb46aaa3b5
3 changed files with 8 additions and 3 deletions

View file

@ -26,9 +26,14 @@ export const convertPrice = async (price, curr, rate) => {
price = price.replace("S/.", "");
break;
}
case "try": {
price = price.replace(".", "").replace(",", ".");
break;
}
case "clp":
case "cop":
case "twd": {
case "twd":
case "mxn": {
break;
}
default:

View file

@ -1,7 +1,7 @@
{
"name": "Kobo Price",
"description": "Find lowest book price on kobo.com",
"version": "1.2.0",
"version": "1.2.1",
"manifest_version": 3,
"content_scripts": [
{

File diff suppressed because one or more lines are too long