Feat: Bringin Privacy to Filament v4, the managers and resources were built with filament v3
This commit is contained in:
@@ -47,7 +47,7 @@ class ShippingMethodResourceExtension extends ResourceExtension
|
||||
}
|
||||
|
||||
if (in_array(HasChildComponents::class, class_uses_recursive($component), true)) {
|
||||
$component->schema($this->replaceNameField($component->getChildComponents()));
|
||||
$component->schema($this->replaceNameField($component->getDefaultChildComponents()));
|
||||
}
|
||||
|
||||
return $component;
|
||||
@@ -158,7 +158,7 @@ class ShippingMethodResourceExtension extends ResourceExtension
|
||||
|
||||
if (in_array(HasChildComponents::class, class_uses_recursive($component), true)) {
|
||||
$component->schema(
|
||||
$this->replaceChargeByField($component->getChildComponents())
|
||||
$this->replaceChargeByField($component->getDefaultChildComponents())
|
||||
);
|
||||
}
|
||||
|
||||
@@ -269,7 +269,7 @@ class ShippingMethodResourceExtension extends ResourceExtension
|
||||
|
||||
if (in_array(HasChildComponents::class, class_uses_recursive($component), true)) {
|
||||
$component->schema(
|
||||
$this->replaceDriverField($component->getChildComponents())
|
||||
$this->replaceDriverField($component->getDefaultChildComponents())
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user