fix cache and add template pdf to brief file
This commit is contained in:
parent
3a9c213d86
commit
8a9fb35034
3 changed files with 3 additions and 4 deletions
|
|
@ -4,6 +4,6 @@
|
|||
return function($newPage, $oldPage) {
|
||||
$project = $newPage->template() == 'project' ? $newPage : $newPage->parents()->findBy('template', 'project');
|
||||
if ($project) {
|
||||
$steps = $newPage->rebuildStepsCache();
|
||||
$steps = $project->rebuildStepsCache();
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue