In laravel Nova resources I can change the resource name with label function but in Lens, with the same function it doesn't work.
Any idea?
Code:
public static function label(): string
{
return 'Asistencias Empleados';
}
CodePudding user response:
For lens we don't use labels for changing name we have this method name
public function name():string
{
return __('Most Valuable Users');
}