mirror of
https://github.com/frappe/books.git
synced 2025-01-25 16:18:33 +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]]);
|
return thetas.map((t, i) => [t.i, t.value, starts[i]]);
|
||||||
},
|
},
|
||||||
hasNonZeroValues() {
|
hasNonZeroValues() {
|
||||||
return (
|
return this.thetasAndStarts.some((t) => this.sectors[t[0]].value !== 0);
|
||||||
this.thetasAndStarts.length > 0 &&
|
|
||||||
this.thetasAndStarts.some((t) => this.sectors[t[0]].value !== 0)
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user