place start and end mark
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d45c8a7e9a
commit
aa4094cd05
@ -39,9 +39,12 @@ export default {
|
|||||||
for (let i = 0; i < this.data.length; i++) {
|
for (let i = 0; i < this.data.length; i++) {
|
||||||
const data = this.data[i];
|
const data = this.data[i];
|
||||||
const val = resolve_data (data, y.field);
|
const val = resolve_data (data, y.field);
|
||||||
|
const next = this.data.length - 1 === i
|
||||||
|
? val
|
||||||
|
: resolve_data (this.data[i + 1], y.field);
|
||||||
if (
|
if (
|
||||||
!this.remove_duplicates
|
!this.remove_duplicates
|
||||||
|| last !== val
|
|| last !== val || next !== val
|
||||||
|| this.data.length - 1 === i
|
|| this.data.length - 1 === i
|
||||||
)
|
)
|
||||||
res.data.push (val);
|
res.data.push (val);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user