mirror of
https://github.com/frappe/books.git
synced 2025-01-11 02:36:14 +00:00
chore: remove redundant length check
This commit is contained in:
parent
8f5d71f743
commit
a51c4bac64
@ -116,10 +116,7 @@ export default {
|
||||
return thetas.map((t, i) => [t.i, t.value, starts[i]]);
|
||||
},
|
||||
hasNonZeroValues() {
|
||||
return (
|
||||
this.thetasAndStarts.length > 0 &&
|
||||
this.thetasAndStarts.some((t) => this.sectors[t[0]].value !== 0)
|
||||
);
|
||||
return this.thetasAndStarts.some((t) => this.sectors[t[0]].value !== 0);
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
|
Loading…
Reference in New Issue
Block a user