Fixed factory class exits
This commit is contained in:
parent
c97d64793a
commit
750e47c62d
@ -46,7 +46,9 @@ class Tr extends Component
|
|||||||
|
|
||||||
$factory = $self->getValue();
|
$factory = $self->getValue();
|
||||||
|
|
||||||
if (array_key_exists('App\View\Components\Table\Tbody', $values) && $factory->getLoopStack()) {
|
if (array_key_exists('App\View\Components\Table\Tbody', $values)
|
||||||
|
&& ($factory instanceof \Illuminate\View\Factory && $factory->getLoopStack())
|
||||||
|
) {
|
||||||
return 'relative flex items-center px-1 group border-b hover:bg-gray-100';
|
return 'relative flex items-center px-1 group border-b hover:bg-gray-100';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user