fix: defaultcontroller

comment out onload for home
This commit is contained in:
Ryan Prather 2025-04-27 23:11:51 -04:00
parent 6369f5c7b9
commit 34435f885c

View File

@ -32,7 +32,7 @@ class DefaultController extends AbstractController
$meta = $user->getMetaData(); $meta = $user->getMetaData();
return $this->render('default/home.html.twig', [ return $this->render('default/home.html.twig', [
'onLoad' => 'setHeight()', //'onLoad' => 'initHome()',
'last4Notes' => $last4Notes, 'last4Notes' => $last4Notes,
'reverseNoteSort' => $openNotes, 'reverseNoteSort' => $openNotes,
'isAdmin' => $this->isGranted('ROLE_ADMIN'), 'isAdmin' => $this->isGranted('ROLE_ADMIN'),