client/pools: inherit option to show underscores as spaces

This commit is contained in:
Shyam Sunder
2020-06-23 12:36:26 -04:00
parent 029c112011
commit d420609f97
10 changed files with 14 additions and 15 deletions

View File

@ -204,7 +204,7 @@ function dataURItoBlob(dataURI) {
return new Blob([data], { type: mimeString });
}
function getPrettyTagName(tag) {
function getPrettyName(tag) {
if (settings.get().tagUnderscoresAsSpaces) {
return tag.replace(/_/g, " ");
}
@ -228,5 +228,5 @@ module.exports = {
decamelize: decamelize,
escapeSearchTerm: escapeSearchTerm,
dataURItoBlob: dataURItoBlob,
getPrettyTagName: getPrettyTagName,
getPrettyName: getPrettyName,
};