mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Units: Added bitcoin units milli-bitcoin (mBTC) and micro-bitcoin (μBTC) (#24182)
* Update Bitcoin Currency to use proper symbol, add mBTC and μBTC * Apply suggestions from code review Co-authored-by: Marcus Andersson <systemvetaren@gmail.com> * Revert Bitcoin to use '฿' Co-authored-by: Marcus Andersson <systemvetaren@gmail.com>
This commit is contained in:
parent
1b65e889be
commit
d3c57ac251
@ -428,6 +428,14 @@
|
||||
{
|
||||
"text": "Bitcoin (฿)",
|
||||
"value": "currencyBTC"
|
||||
},
|
||||
{
|
||||
"text": "Milli Bitcoin (mBTC)",
|
||||
"value": "currencymBTC"
|
||||
},
|
||||
{
|
||||
"text": "Micro Bitcoin (μBTC)",
|
||||
"value": "currencyμBTC"
|
||||
}
|
||||
],
|
||||
"text": "currency"
|
||||
|
@ -428,6 +428,14 @@
|
||||
{
|
||||
"text": "Bitcoin (฿)",
|
||||
"value": "currencyBTC"
|
||||
},
|
||||
{
|
||||
"text": "Milli Bitcoin (mBTC)",
|
||||
"value": "currencymBTC"
|
||||
},
|
||||
{
|
||||
"text": "Micro Bitcoin (μBTC)",
|
||||
"value": "currencyμBTC"
|
||||
}
|
||||
],
|
||||
"text": "currency"
|
||||
|
@ -115,6 +115,8 @@ export const getCategories = (): ValueFormatCategory[] => [
|
||||
{ name: 'Swiss franc (CHF)', id: 'currencyCHF', fn: currency('CHF') },
|
||||
{ name: 'Polish Złoty (PLN)', id: 'currencyPLN', fn: currency('PLN') },
|
||||
{ name: 'Bitcoin (฿)', id: 'currencyBTC', fn: currency('฿') },
|
||||
{ name: 'Milli Bitcoin (฿)', id: 'currencymBTC', fn: currency('mBTC') },
|
||||
{ name: 'Micro Bitcoin (฿)', id: 'currencyμBTC', fn: currency('μBTC') },
|
||||
{ name: 'South African Rand (R)', id: 'currencyZAR', fn: currency('R') },
|
||||
{ name: 'Indian Rupee (₹)', id: 'currencyINR', fn: currency('₹') },
|
||||
{ name: 'South Korean Won (₩)', id: 'currencyKRW', fn: currency('₩') },
|
||||
|
Loading…
Reference in New Issue
Block a user