fix gitlab tests
This commit is contained in:
@@ -10,7 +10,7 @@ class RoleDashboardService
|
||||
public function bestDashboardRouteFor(array $roleKeys): string
|
||||
{
|
||||
$rows = Role::findByNamesOrSlugs($roleKeys);
|
||||
if (! empty($rows)) {
|
||||
if (!empty($rows)) {
|
||||
return $rows[0]->dashboard_route ?? '/landing_page/guest_dashboard';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user