mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 01:56:12 +01:00
fix: #9339, only log email errors once per digest, notification push
show notice in acp
This commit is contained in:
@@ -13,6 +13,7 @@ const plugins = require('../../plugins');
|
||||
const user = require('../../user');
|
||||
const topics = require('../../topics');
|
||||
const utils = require('../../utils');
|
||||
const emailer = require('../../emailer');
|
||||
|
||||
const dashboardController = module.exports;
|
||||
|
||||
@@ -56,6 +57,13 @@ async function getNotices() {
|
||||
},
|
||||
];
|
||||
|
||||
if (emailer.fallbackNotFound) {
|
||||
notices.push({
|
||||
done: false,
|
||||
notDoneText: '[[admin/dashboard:fallback-emailer-not-found]]',
|
||||
});
|
||||
}
|
||||
|
||||
if (global.env !== 'production') {
|
||||
notices.push({
|
||||
done: false,
|
||||
|
||||
Reference in New Issue
Block a user