Compare commits
2 Commits
2.0-beta.1
...
2.0-beta.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
612fcca68c | ||
|
|
12939c46de |
@@ -62,7 +62,7 @@ function applyPropertyAndWalkChildren({prop, child, targets, ...options}){
|
|||||||
export default function applyProperties({ forest, targets, ...options}){
|
export default function applyProperties({ forest, targets, ...options}){
|
||||||
forest.forEach(child => {
|
forest.forEach(child => {
|
||||||
let prop = child.node;
|
let prop = child.node;
|
||||||
if (shouldSplit(prop)){
|
if (shouldSplit(prop) && targets.length){
|
||||||
targets.forEach(target => {
|
targets.forEach(target => {
|
||||||
let targets = [target]
|
let targets = [target]
|
||||||
applyPropertyAndWalkChildren({ targets, prop, child, ...options});
|
applyPropertyAndWalkChildren({ targets, prop, child, ...options});
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ export default function applySave({
|
|||||||
return !saveSuccess;
|
return !saveSuccess;
|
||||||
} else {
|
} else {
|
||||||
// TODO
|
// TODO
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
} catch (e){
|
} catch (e){
|
||||||
log.content.push({
|
log.content.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user