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';
}
For lens we don't use labels for changing name we have this method name
public function name():string
{
return __('Most Valuable Users');
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.