Hi,
I'd like to change the text "There are no records in this view" for each resource I've set up. I thought you would be able to do it like this::
class TimerResource extends Resource
{
/**
* The model the resource corresponds to.
*
* @var string
*/
public static $model = \App\Models\Timer::class;
/**
* @return string
*/
protected function textNotFound(): string
{
return __('There are no timers');
}
...
Hi, I'd like to change the text "There are no records in this view" for each resource I've set up. I thought you would be able to do it like this::
But that's not working.
Anyone know how to do this?
Regards, Andy