raissa_black
Default active tab
I found the error!! It was because of this code that i could not do it.
count() method is already defined by default:
protected array $orderByStatuses = [];
protected int $countNew = 0;
public function mount(): void
{
$this->countNew = Owner::where('status', 'new')->count();
}
18 replies