1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

broke up a long line

This commit is contained in:
Addison Beck 2020-07-16 16:10:00 -05:00
parent 5d93c84ae6
commit f0411d0240

View File

@ -133,7 +133,9 @@ export class CiphersComponent {
if (select) {
this.selectAll(false);
}
const selectCount = select && this.ciphers.length > this.maxCheckedCount ? this.maxCheckedCount : this.ciphers.length;
const selectCount = select && this.ciphers.length > this.maxCheckedCount
? this.maxCheckedCount
: this.ciphers.length;
for (let i = 0; i < selectCount; i++) {
this.checkCipher(this.ciphers[i], select);
}