From 14629ad12a1139e9fa8475a0125071d0467c06d0 Mon Sep 17 00:00:00 2001 From: mnvdk Date: Sun, 26 Apr 2020 23:14:16 +0200 Subject: [PATCH] Don't lowercase the assigned value --- public/src/js/importsongs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/src/js/importsongs.js b/public/src/js/importsongs.js index f999439..c65549d 100644 --- a/public/src/js/importsongs.js +++ b/public/src/js/importsongs.js @@ -42,10 +42,10 @@ this.categoryAliases = {} assets.categories.forEach(cat => { - this.categoryAliases[cat.title.toLowerCase()] = cat.title.toLowerCase() + this.categoryAliases[cat.title.toLowerCase()] = cat.title if(cat.aliases != null){ cat.aliases.forEach(alias => { - this.categoryAliases[alias.toLowerCase()] = cat.title.toLowerCase() + this.categoryAliases[alias.toLowerCase()] = cat.title }); } });