fix: #8386, use backgroundImage everywhere

This commit is contained in:
Barış Soner Uşaklı
2020-06-09 10:39:55 -04:00
parent 6a96944247
commit 8627bee541
3 changed files with 26 additions and 7 deletions

View File

@@ -81,10 +81,6 @@ function modifyCategory(category, fields) {
category.totalTopicCount = category.topic_count;
}
if (category.image) {
category.backgroundImage = category.image;
}
if (category.description) {
category.description = validator.escape(String(category.description));
category.descriptionParsed = category.descriptionParsed || category.description;