broke up a long line
This commit is contained in:
parent
5d93c84ae6
commit
f0411d0240
|
@ -133,7 +133,9 @@ export class CiphersComponent {
|
||||||
if (select) {
|
if (select) {
|
||||||
this.selectAll(false);
|
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++) {
|
for (let i = 0; i < selectCount; i++) {
|
||||||
this.checkCipher(this.ciphers[i], select);
|
this.checkCipher(this.ciphers[i], select);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue