You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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');
}
...
But that's not working.
Anyone know how to do this?
Regards,
Andy
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: