fix: limits active download list to 5 items
This commit is contained in:
@@ -3,11 +3,14 @@
|
||||
namespace App\Twig\Components;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\UX\TwigComponent\Attribute\AsTwigComponent;
|
||||
use Symfony\UX\LiveComponent\Attribute\AsLiveComponent;
|
||||
use Symfony\UX\LiveComponent\DefaultActionTrait;
|
||||
|
||||
#[AsTwigComponent]
|
||||
#[AsLiveComponent]
|
||||
final class DownloadList extends AbstractController
|
||||
{
|
||||
use DefaultActionTrait;
|
||||
|
||||
public string $type;
|
||||
|
||||
public function getDownloads()
|
||||
|
||||
Reference in New Issue
Block a user