mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-03 05:09:48 +01:00
notif unread class
This commit is contained in:
@@ -1015,7 +1015,7 @@ var bcrypt = require('bcrypt'),
|
||||
return parseInt(b.datetime, 10) - parseInt(a.datetime, 10);
|
||||
}).map(function(notif) {
|
||||
notif.datetimeISO = utils.toISOString(notif.datetime);
|
||||
notif.readClass = !notif.read ? 'unread' : '';
|
||||
notif.readClass = !notif.read ? 'label-warning' : '';
|
||||
|
||||
return notif;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user