Skip to content
Snippets Groups Projects
Commit 5cfe4f0f authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

fix(notifications): Count only last unread messages/notifications, since last...

fix(notifications): Count only last unread messages/notifications, since last read messages/notifications, after first login
parent 677159dc
No related branches found
No related tags found
No related merge requests found
Pipeline #33021 failed
......@@ -86,7 +86,7 @@ angular.module('cesium.es.message.services', ['ngResource', 'cesium.platform',
}
function countUnreadMessages(options) {
if (typeof options === 'string') throw new Error('Invalid argument options: expected an object, but get a string!')
if (typeof options === 'string') throw new Error('Invalid argument options: expected an object, but get a string!');
options = options || {};
var wallet = options.wallet ||
(options.walletId && csWallet.children.get(options.walletId)) || csWallet;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment