mirror of
https://github.com/flextype/flextype.git
synced 2025-08-08 14:16:46 +02:00
feat(fields): improve EntriesField
logic - cleanup dump
This commit is contained in:
@@ -17,7 +17,7 @@ declare(strict_types=1);
|
||||
use Glowy\Arrays\Arrays as Collection;
|
||||
|
||||
emitter()->addListener('onEntriesFetchSingleHasResult', static function (): void {
|
||||
dump(entries()->registry()->get('methods.fetch.collection'));
|
||||
|
||||
if (! entries()->registry()->get('methods.fetch.collection.fields.entries.enabled')) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user