fix conversion for mxn and try currencies
This commit is contained in:
parent
d7676019d0
commit
eb46aaa3b5
3 changed files with 8 additions and 3 deletions
|
@ -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:
|
||||
|
|
|
@ -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
Loading…
Reference in a new issue