mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 19:21:04 +01:00
fix: #8386, use backgroundImage everywhere
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user