move progressbar initiation to the page entity

This commit is contained in:
yggverse 2024-07-09 04:26:11 +03:00
parent 195860c342
commit e1455e5772
2 changed files with 7 additions and 6 deletions

View file

@ -107,8 +107,15 @@ class Page
bool $history = true
): void
{
// Show progressbar
$this->progressbar->infinitive();
// Update content entity
$this->content->update(
$history
);
// Hide progressbar
$this->progressbar->hide();
}
}