Skip to content

Commit

Permalink
Merge pull request #22 from awcodes/fix/action-naming
Browse files Browse the repository at this point in the history
Fix: action names
  • Loading branch information
awcodes authored Nov 4, 2022
2 parents e535238 + 3042075 commit f26c307
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 f26c307

Please sign in to comment.