diff --git a/src/UI/src/Components/Table/TableBuilder.php b/src/UI/src/Components/Table/TableBuilder.php index d430ecb06..c0cafef73 100644 --- a/src/UI/src/Components/Table/TableBuilder.php +++ b/src/UI/src/Components/Table/TableBuilder.php @@ -453,10 +453,10 @@ private function resolveHeadRow(): TableRowContract ) ->when( $field->isSortActive(), - static fn (Link $link): Link =>$link->icon( + static fn (Link $link): Link => $link->icon( $field->sortDirectionIs('desc') ? 'bars-arrow-down' : 'bars-arrow-up', ), - static fn (Link $link): Link =>$link->icon('arrows-up-down'), + static fn (Link $link): Link => $link->icon('arrows-up-down'), ) ->customAttributes([ 'class' => $field->isSortActive() ? 'text-primary' : '',