Sync: handle 'import' property on creation
This commit is contained in:
parent
9279e01c89
commit
0aae476498
|
@ -145,6 +145,10 @@ class Sync
|
|||
foreach ($newVars as $prop => $var) {
|
||||
$objects[$key]->vars()->$prop = $var;
|
||||
}
|
||||
|
||||
if (! empty($imports)) {
|
||||
$objects[$key]->imports()->set($imports);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue