-
+
{
-
if (route.meta.emptyLayout) {
- return EmptyLayout;
+ return EmptyLayout
}
const queryParams = new URLSearchParams(window.location.search)
@@ -90,11 +89,14 @@ const layout = computed(() => {
const legacyContainer = ref(null)
-watch(() => route.name, () => {
- if (legacyContainer.value) {
- legacyContainer.value.innerHTML = ""
- }
-})
+watch(
+ () => route.name,
+ () => {
+ if (legacyContainer.value) {
+ legacyContainer.value.innerHTML = ""
+ }
+ },
+)
watchEffect(() => {
if (!legacyContainer.value) {
@@ -151,15 +153,15 @@ onUpdated(() => {
if (!Array.isArray(flashes)) {
for (const key in flashes) {
- const notificationType = key === 'danger' ? 'Error' : capitalize(key);
+ const notificationType = key === "danger" ? "Error" : capitalize(key)
for (const flashText of flashes[key]) {
- notification[`show${notificationType}Notification`](flashText);
+ notification[`show${notificationType}Notification`](flashText)
}
}
}
- app.dataset.flashes = "";
+ app.dataset.flashes = ""
})
axios.interceptors.response.use(
@@ -189,7 +191,7 @@ watch(
}
},
{
- inmediate: true
- }
+ inmediate: true,
+ },
)
diff --git a/src/CoreBundle/Controller/FileManagerController.php b/src/CoreBundle/Controller/FileManagerController.php
index 285c263b3c..82be94d748 100644
--- a/src/CoreBundle/Controller/FileManagerController.php
+++ b/src/CoreBundle/Controller/FileManagerController.php
@@ -11,11 +11,11 @@ use Doctrine\ORM\EntityManager;
use Doctrine\ORM\EntityManagerInterface;
use Exception;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
+use Symfony\Component\HttpFoundation\BinaryFileResponse;
+use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
-use Symfony\Component\HttpFoundation\JsonResponse;
-use Symfony\Component\HttpFoundation\BinaryFileResponse;
#[Route('/file-manager')]
class FileManagerController extends AbstractController
@@ -106,7 +106,7 @@ class FileManagerController extends AbstractController
{
// Implement logic to download files
// Replace 'path/to/your/files' with the actual path where the files are stored
- $filePath = 'path/to/your/files/' . $filename;
+ $filePath = 'path/to/your/files/'.$filename;
return new BinaryFileResponse($filePath);
}