fix: 🐛 set to draft status when restoring dynamic page
This commit is contained in:
parent
c0dd0f9c7c
commit
cd6d4dbce7
1 changed files with 1 additions and 0 deletions
|
|
@ -103,6 +103,7 @@ class DynamicPage extends Model implements TranslatableModel
|
|||
]);
|
||||
}
|
||||
self::resetCache();
|
||||
$model->status = PageStatusEnum::draft;
|
||||
});
|
||||
static::forceDeleted(function (self $model) {
|
||||
self::resetCache();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue