Display 'temporarily unavailable' when the API can't be reached

This commit is contained in:
Cyril Strahm committed 2022-04-06 21:50:39 +02:00
1 parent 2e6ed5298b
commit 1d2f89a38c
4 files changed
+24 -1

No files matched your search

+5
View File
@@ -29,6 +29,10 @@ function numberFormat(numberState) {
);
}
function localize(localeString) {
return chrome.i18n.getMessage(localeString);
}
function getNumberFormatter(optionSelect) {
let formatterNotation;
let formatterCompactDisplay;
@@ -151,4 +155,5 @@ export {
isVideoLoaded,
cLog,
getColorFromTheme,
localize,
};