I have a Student Resource with actions and created a StudentWallet lens with own actions. When I go to the lens I only see the actions of the Student Resource appearing. I can't find the lens/student-wallets/actions url in the browser's network tab either, only the resource's students/actions link.
// App\Nova\Student.php
public function lenses(Request $request)
{
return [
new Lenses\StudentWallets,
];
}
public function actions(Request $request)
{
return [
(new DownloadExcel)->withHeadings(),
];
}
// App\Nova\Lenses\StudentWallets.php
public function actions(Request $request)
{
return [
new SendPaymentReminder,
];
}
Steps To Reproduce:
Create a resource and register some actions
Create a lens and register it within the prior created resource
Register a different action on the lens
go to the lens view & select a record
=> only actions from the resource will appear
Description:
I have a
Student
Resource with actions and created aStudentWallet
lens with own actions. When I go to the lens I only see the actions of theStudent
Resource appearing. I can't find thelens/student-wallets/actions
url in the browser's network tab either, only the resource'sstudents/actions
link.Steps To Reproduce:
resource
and register some actionslens
and register it within the prior createdresource
action
on the lens