1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-18 02:41:15 +02:00

badge text number inclusive of 9, resolves #1001

This commit is contained in:
Kyle Spearrin 2019-09-04 12:57:17 -04:00
parent b912470e69
commit 056cff04a1

View File

@ -480,7 +480,7 @@ export default class MainBackground {
} }
let theText = ''; let theText = '';
if (ciphers.length > 0 && ciphers.length < 9) { if (ciphers.length > 0 && ciphers.length <= 9) {
theText = ciphers.length.toString(); theText = ciphers.length.toString();
} else if (ciphers.length > 0) { } else if (ciphers.length > 0) {
theText = '9+'; theText = '9+';