Update kbn.js

Adding the other kr currencies not to offend any maintainers
This commit is contained in:
Jon Skarpeteig 2017-10-05 13:44:23 +02:00 committed by GitHub
parent 531586beba
commit 7479c82687

View File

@ -402,7 +402,10 @@ function($, _, moment) {
kbn.valueFormats.currencyRUB = kbn.formatBuilders.currency('₽');
kbn.valueFormats.currencyUAH = kbn.formatBuilders.currency('₴');
kbn.valueFormats.currencyBRL = kbn.formatBuilders.currency('R$');
kbn.valueFormats.currencyDKK = kbn.formatBuilders.currency('kr');
kbn.valueFormats.currencyISK = kbn.formatBuilders.currency('kr');
kbn.valueFormats.currencyNOK = kbn.formatBuilders.currency('kr');
kbn.valueFormats.currencySEK = kbn.formatBuilders.currency('kr');
// Data (Binary)
kbn.valueFormats.bits = kbn.formatBuilders.binarySIPrefix('b');
@ -757,7 +760,11 @@ function($, _, moment) {
{text: 'Rubles (₽)', value: 'currencyRUB'},
{text: 'Hryvnias (₴)', value: 'currencyUAH'},
{text: 'Real (R$)', value: 'currencyBRL'},
{text: 'Danish Krone (kr)', value: 'currencyDKK'},
{text: 'Icelandic Krone (kr)', value: 'currencyISK'},
{text: 'Norwegian Krone (kr)', value: 'currencyNOK'},
{text: 'Swedish Krone (kr)', value: 'currencySEK'},
]
},
{