broke up a long line

This commit is contained in:
Addison Beck 2020-07-16 16:10:00 -05:00
parent 5d93c84ae6
commit f0411d0240
1 changed files with 3 additions and 1 deletions

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);
}