Skip to content

Node.js based forum software built for the modern web

closes #6822

Barış Soner Uşaklıa3d463916c16
diff --git a/install/package.json b/install/package.json
index ae622f5629..9a3eb9a335 100644
--- a/install/package.json
+++ b/install/package.json
@@ -75,10 +75,10 @@
"nodebb-plugin-soundpack-default": "1.0.0",
"nodebb-plugin-spam-be-gone": "0.5.4",
"nodebb-rewards-essentials": "0.0.11",
- "nodebb-theme-lavender": "5.0.7",
- "nodebb-theme-persona": "9.0.38",
- "nodebb-theme-slick": "1.2.10",
- "nodebb-theme-vanilla": "10.1.4",
+ "nodebb-theme-lavender": "5.0.8",
+ "nodebb-theme-persona": "9.0.39",
+ "nodebb-theme-slick": "1.2.11",
+ "nodebb-theme-vanilla": "10.1.5",
"nodebb-widget-essentials": "4.0.7",
"nodemailer": "^4.6.5",
"passport": "^0.4.0",
diff --git a/src/controllers/helpers.js b/src/controllers/helpers.js
index 301c298fe1..636abd77bb 100644
--- a/src/controllers/helpers.js
+++ b/src/controllers/helpers.js
@@ -259,7 +259,7 @@ function getCategoryData(cids, uid, selectedCid, callback) {
privileges.categories.filterCids('read', cids, uid, next);
},
function (cids, next) {
- categories.getCategoriesFields(cids, ['cid', 'name', 'slug', 'icon', 'link', 'color', 'bgColor', 'parentCid'], next);
+ categories.getCategoriesFields(cids, ['cid', 'name', 'slug', 'icon', 'link', 'color', 'bgColor', 'parentCid', 'image', 'imageClass'], next);
},
function (categoryData, next) {
categoryData = categoryData.filter(function (category) {
diff --git a/src/topics.js b/src/topics.js
index a67ad80097..daf3db8790 100644
--- a/src/topics.js
+++ b/src/topics.js
@@ -114,7 +114,7 @@ Topics.getTopicsByTids = function (tids, uid, callback) {
user.getMultipleUserSettings(uids, next);
},
categories: function (next) {
- categories.getCategoriesFields(cids, ['cid', 'name', 'slug', 'icon', 'image', 'bgColor', 'color', 'disabled'], next);
+ categories.getCategoriesFields(cids, ['cid', 'name', 'slug', 'icon', 'image', 'imageClass', 'bgColor', 'color', 'disabled'], next);
},
hasRead: function (next) {
Topics.hasReadTopics(tids, uid, next);