mirror of
https://github.com/flextype/flextype.git
synced 2025-08-07 21:56:33 +02:00
feat(fields): update CreatedAtField
This commit is contained in:
@@ -29,7 +29,7 @@ emitter()->addListener('onEntriesFetchSingleHasResult', static function (): void
|
||||
|
||||
emitter()->addListener('onEntriesCreate', static function (): void {
|
||||
|
||||
if (! registry()->get('flextype.settings.entries.collections.default.fields.created_at.enabled')) {
|
||||
if (! registry()->get('methods.fetch.collection.fields.created_at.enabled')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user