1
0
Fork 0

move path clone out of path name conditional

This commit is contained in:
Patrick Forringer 2020-05-10 12:02:05 -05:00
parent a830fda199
commit 8e768cf640

View file

@ -52,8 +52,8 @@ export default {
break
}
}
path = clone ? path.clone() : path
if (clone && foundId !== null) {
path = clone ? path.clone() : path
this.paths[`${prefix}${foundId}`] = path
}
for (let op in path.ops) {