mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: show controls @julianlam
This commit is contained in:
@@ -21,7 +21,7 @@ dashboardController.get = async function (req, res) {
|
|||||||
getNotices(),
|
getNotices(),
|
||||||
getLatestVersion(),
|
getLatestVersion(),
|
||||||
getLastRestart(),
|
getLastRestart(),
|
||||||
user.isAdministrator(),
|
user.isAdministrator(req.uid),
|
||||||
]);
|
]);
|
||||||
const version = nconf.get('version');
|
const version = nconf.get('version');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user