nodebb-theme-oxide
Advanced tools
Comparing version 4.0.16 to 4.0.17
@@ -91,4 +91,6 @@ 'use strict'; | ||
library.getThemeConfig = function(config, callback) { | ||
meta.settings.get('oxide', function(err, settings) { | ||
if (err) { | ||
return callback(err); | ||
} | ||
config.hideSubCategories = settings.hideSubCategories === 'on'; | ||
@@ -101,5 +103,4 @@ config.hideCategoryLastPost = settings.hideCategoryLastPost === 'on'; | ||
config.enableShowIpInUserProfile = settings.enableShowIpInUserProfile === 'on'; | ||
}); | ||
callback(false, config); | ||
callback(null, config); | ||
}); | ||
}; | ||
@@ -143,2 +144,2 @@ | ||
module.exports = library; | ||
module.exports = library; |
{ | ||
"name": "nodebb-theme-oxide", | ||
"description": "A theme that is based on the GitHub design.", | ||
"version": "4.0.16", | ||
"version": "4.0.17", | ||
"homepage": "https://github.com/youhosi/nodebb-theme-oxide", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
850230
2872