Halte ungenutzte Medien bearbeitbar und lege Dateien direkt im Modul an.
Eine Fassung wird erst unveränderlich, wenn sie freigegeben und verwendet wird. Das Auge am Listeneintrag öffnet die Vorschau. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
1fb48783bf
commit
c73207f2c3
11 files changed
+547
-25
No files matched your search
@@ -38,6 +38,18 @@ protected static function booted(): void
|
||||
return;
|
||||
}
|
||||
|
||||
if (
|
||||
$original === ContentVersionStatus::Bereit->value
|
||||
&& StatusValue::of($version->status) === ContentVersionStatus::Bereit->value
|
||||
&& ! app(ContentService::class)->isCommitted($version)
|
||||
) {
|
||||
$contentFields = ['body', 'metadata', 'content_hash', 'change_note', 'updated_at'];
|
||||
|
||||
if (array_diff(array_keys($version->getDirty()), $contentFields) === []) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
$allowed = ['status', 'updated_at'];
|
||||
|
||||
if (
|
||||
|
||||
Reference in new issue
Block a user