fix(mail(js)): update unseen count when it's zero

This commit is contained in:
Francis Lachapelle committed 2021-12-15 17:14:11 -05:00
1 parent 78855be162
commit 635b8c68db
1 file changed
+1 -1
@@ -1089,7 +1089,7 @@
}
}
}
if (data.unseenCount) {
if (angular.isDefined(data.unseenCount)) {
_this.unseenCount = data.unseenCount;
}