fix cache

This commit is contained in:
isUnknown 2025-05-27 11:39:20 +02:00
parent d1b7ca404d
commit 441323e0f5
7 changed files with 16 additions and 17 deletions

View file

@ -4,8 +4,6 @@
return function($newPage, $oldPage) {
$project = $newPage->template() == 'project' ? $newPage : $newPage->parents()->findBy('template', 'project');
if ($project) {
$steps = $newPage->getRefreshedSteps(true);
refreshProjectStepsCache($project, $steps);
$steps = $newPage->rebuildStepsCache();
}
};