broke up a long line

This commit is contained in:
Addison Beck 2020-07-16 16:10:00 -05:00
parent 5a95c42937
commit 137ca87668
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);
}