Skip to content

Commit

Permalink
Add message on success
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia committed Sep 4, 2023
1 parent 7cb67fa commit c7ac228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Twig/UploadBookPicture.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function uploadFiles(Request $request, LoggerInterface $logger, BookFileS

$entityManager->persist($book);
$entityManager->flush();
$this->flashMessage = null;
$this->flashMessage = 'Successfully uploaded, please reload the page';
$this->isEditing = false;

return;
Expand Down

0 comments on commit c7ac228

Please sign in to comment.