move path clone out of path name conditional
This commit is contained in:
parent
a830fda199
commit
8e768cf640
1 changed files with 1 additions and 1 deletions
|
@ -52,8 +52,8 @@ export default {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
path = clone ? path.clone() : path
|
||||||
if (clone && foundId !== null) {
|
if (clone && foundId !== null) {
|
||||||
path = clone ? path.clone() : path
|
|
||||||
this.paths[`${prefix}${foundId}`] = path
|
this.paths[`${prefix}${foundId}`] = path
|
||||||
}
|
}
|
||||||
for (let op in path.ops) {
|
for (let op in path.ops) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue