1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-07 21:56:33 +02:00

feat(fields): add ability to override fields - fix typo

This commit is contained in:
Awilum
2022-05-19 20:22:09 +03:00
parent b4d1010f25
commit 5561f8f69a
3 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ emitter()->addListener('onEntriesCreate', static function (): void {
}
// Determine is the current field file path is the same.
if (! strings(__FILE__)->replace(ROOT_DIR, '')->isEqual(entries()->registry()->get('methods.fetch.collection.fields.calls.path'))) {
if (! strings(__FILE__)->replace(ROOT_DIR, '')->isEqual(entries()->registry()->get('methods.create.collection.fields.calls.path'))) {
return;
}

View File

@@ -22,7 +22,7 @@ emitter()->addListener('onEntriesCreate', static function (): void {
}
// Determine is the current field file path is the same.
if (! strings(__FILE__)->replace(ROOT_DIR, '')->isEqual(entries()->registry()->get('methods.fetch.collection.fields.limit_calls.path'))) {
if (! strings(__FILE__)->replace(ROOT_DIR, '')->isEqual(entries()->registry()->get('methods.create.collection.fields.limit_calls.path'))) {
return;
}

View File

@@ -22,7 +22,7 @@ emitter()->addListener('onEntriesCreate', static function (): void {
}
// Determine is the current field file path is the same.
if (! strings(__FILE__)->replace(ROOT_DIR, '')->isEqual(entries()->registry()->get('methods.fetch.collection.fields.state.path'))) {
if (! strings(__FILE__)->replace(ROOT_DIR, '')->isEqual(entries()->registry()->get('methods.create.collection.fields.state.path'))) {
return;
}