Small cleanup

This commit is contained in:
Joseph Milazzo 2025-04-11 09:52:16 -05:00
parent a3b0c08e17
commit db3d228610

View file

@ -240,7 +240,8 @@ export class SideNavComponent implements OnInit {
async reorderDrop($event: CdkDragDrop<any, any, SideNavStream>) { async reorderDrop($event: CdkDragDrop<any, any, SideNavStream>) {
// Don't allow dropping on non SideNav items // Don't allow dropping on non SideNav items
if ($event.currentIndex < 3) { const fixedSideNavItems = 3;
if ($event.currentIndex < fixedSideNavItems) {
return; return;
} }