Skip to content

Commit 5cfe4f0

Browse files
committed
fix(notifications): Count only last unread messages/notifications, since last read messages/notifications, after first login
1 parent 677159d commit 5cfe4f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/plugins/es/js/services/message-services.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ angular.module('cesium.es.message.services', ['ngResource', 'cesium.platform',
8686
}
8787

8888
function countUnreadMessages(options) {
89-
if (typeof options === 'string') throw new Error('Invalid argument options: expected an object, but get a string!')
89+
if (typeof options === 'string') throw new Error('Invalid argument options: expected an object, but get a string!');
9090
options = options || {};
9191
var wallet = options.wallet ||
9292
(options.walletId && csWallet.children.get(options.walletId)) || csWallet;

0 commit comments

Comments
 (0)