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

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