Skip to content

Commit

Permalink
Fix: action names
Browse files Browse the repository at this point in the history
  • Loading branch information
awcodes committed Nov 4, 2022
1 parent e535238 commit 3042075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Livewire/QuickCreateMenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public function getFilamentResources(): array
->map(function ($resourceName) {
$resource = App::make($resourceName);
if ($resource->canCreate()) {
$actionName = 'create'.Str::of($resource->getLabel())->camel();
$actionName = 'create'.Str::of($resource->getModelLabel())->camel();

return [
'resource_name' => $resourceName,
Expand Down

0 comments on commit 3042075

Please sign in to comment.