Fixed show page tabs in table head border styling..

This commit is contained in:
Cüneyt Şentürk 2023-07-04 15:52:43 +03:00
parent d48fc2cd56
commit ec6a858d76

View File

@ -41,7 +41,12 @@ class Tr extends Component
$values = $self->getValue();
if (array_key_exists('App\View\Components\Table\Tbody', $values)) {
$self = new ReflectionProperty($this::class, 'factory');
$self->setAccessible(true);
$factory = $self->getValue();
if (array_key_exists('App\View\Components\Table\Tbody', $values) && $factory->getLoopStack()) {
return 'relative flex items-center px-1 group border-b hover:bg-gray-100';
}