mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-02 05:40:43 +01:00
fix: add composer:showHelpTab to api
This commit is contained in:
@@ -108,6 +108,8 @@ get:
|
||||
type: boolean
|
||||
bootswatchSkin:
|
||||
type: string
|
||||
composer:showHelpTab:
|
||||
type: boolean
|
||||
enablePostHistory:
|
||||
type: boolean
|
||||
timeagoCutoff:
|
||||
|
||||
@@ -69,6 +69,7 @@ apiController.loadConfig = async function (req) {
|
||||
searchEnabled: plugins.hooks.hasListeners('filter:search.query'),
|
||||
searchDefaultInQuick: meta.config.searchDefaultInQuick || 'titles',
|
||||
bootswatchSkin: meta.config.bootswatchSkin || '',
|
||||
'composer:showHelpTab': meta.config['composer:showHelpTab'] === 1,
|
||||
enablePostHistory: meta.config.enablePostHistory === 1,
|
||||
timeagoCutoff: meta.config.timeagoCutoff !== '' ? Math.max(0, parseInt(meta.config.timeagoCutoff, 10)) : meta.config.timeagoCutoff,
|
||||
timeagoCodes: languages.timeagoCodes,
|
||||
|
||||
Reference in New Issue
Block a user