mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 10:05:03 +00:00
Add generation button for saved exports and improve UI flow
Introduce a Vue.js component to handle the generation of saved exports directly via a new button. Adjust related API endpoints, improve status handling, and remove redundant backend logic. Minor UI enhancements and translation updates included.
This commit is contained in:
@@ -53,10 +53,6 @@ final readonly class ExportGenerationController
|
||||
throw new AccessDeniedHttpException('Only users can download an export');
|
||||
}
|
||||
|
||||
if (StoredObject::STATUS_PENDING === $exportGeneration->getStoredObject()->getStatus()) {
|
||||
return new JsonResponse(['status' => 'pending']);
|
||||
}
|
||||
|
||||
return new JsonResponse(
|
||||
$this->serializer->serialize(
|
||||
$exportGeneration,
|
||||
|
Reference in New Issue
Block a user