diff --git a/app/View/Components/Suggestions.php b/app/View/Components/Suggestions.php index 2c80764ed..efe0b9b46 100644 --- a/app/View/Components/Suggestions.php +++ b/app/View/Components/Suggestions.php @@ -72,6 +72,10 @@ class Suggestions extends Component return []; } + if (count($modules) < 3) { + return $modules; + } + return Arr::random($modules, 2); } }