mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-03 05:09:48 +01:00
fix mark topic notifications read on enter
This commit is contained in:
@@ -223,7 +223,7 @@ var async = require('async'),
|
||||
|
||||
value = value ? value.toString() : '';
|
||||
nids = notifications.filter(function(notification) {
|
||||
return notification && notification[field] === value;
|
||||
return notification && notification[field] && notification[field].toString() === value;
|
||||
}).map(function(notification) {
|
||||
return notification.nid;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user