mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
closes #6822
This commit is contained in:
@@ -75,10 +75,10 @@
|
|||||||
"nodebb-plugin-soundpack-default": "1.0.0",
|
"nodebb-plugin-soundpack-default": "1.0.0",
|
||||||
"nodebb-plugin-spam-be-gone": "0.5.4",
|
"nodebb-plugin-spam-be-gone": "0.5.4",
|
||||||
"nodebb-rewards-essentials": "0.0.11",
|
"nodebb-rewards-essentials": "0.0.11",
|
||||||
"nodebb-theme-lavender": "5.0.7",
|
"nodebb-theme-lavender": "5.0.8",
|
||||||
"nodebb-theme-persona": "9.0.38",
|
"nodebb-theme-persona": "9.0.39",
|
||||||
"nodebb-theme-slick": "1.2.10",
|
"nodebb-theme-slick": "1.2.11",
|
||||||
"nodebb-theme-vanilla": "10.1.4",
|
"nodebb-theme-vanilla": "10.1.5",
|
||||||
"nodebb-widget-essentials": "4.0.7",
|
"nodebb-widget-essentials": "4.0.7",
|
||||||
"nodemailer": "^4.6.5",
|
"nodemailer": "^4.6.5",
|
||||||
"passport": "^0.4.0",
|
"passport": "^0.4.0",
|
||||||
|
|||||||
@@ -259,7 +259,7 @@ function getCategoryData(cids, uid, selectedCid, callback) {
|
|||||||
privileges.categories.filterCids('read', cids, uid, next);
|
privileges.categories.filterCids('read', cids, uid, next);
|
||||||
},
|
},
|
||||||
function (cids, 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) {
|
function (categoryData, next) {
|
||||||
categoryData = categoryData.filter(function (category) {
|
categoryData = categoryData.filter(function (category) {
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ Topics.getTopicsByTids = function (tids, uid, callback) {
|
|||||||
user.getMultipleUserSettings(uids, next);
|
user.getMultipleUserSettings(uids, next);
|
||||||
},
|
},
|
||||||
categories: function (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) {
|
hasRead: function (next) {
|
||||||
Topics.hasReadTopics(tids, uid, next);
|
Topics.hasReadTopics(tids, uid, next);
|
||||||
|
|||||||
Reference in New Issue
Block a user