Skip to content

Commit a7678b4

Browse files
committed
Make Errors nav item visible to all users
Drop the admin/impersonating gate on the Errors SideMenu entry so the feature is generally available. Route loaders are not gated, so this just unhides the nav link for non-admins.
1 parent 6710e4d commit a7678b4

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

apps/webapp/app/components/navigation/SideMenu.tsx

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -524,17 +524,15 @@ export function SideMenu({
524524
isCollapsed={isCollapsed}
525525
/>
526526
)}
527-
{(user.admin || user.isImpersonating) && (
528-
<SideMenuItem
529-
name="Errors"
530-
icon={IconBugFilled}
531-
activeIconColor="text-errors"
532-
inactiveIconColor="text-errors"
533-
to={v3ErrorsPath(organization, project, environment)}
534-
data-action="errors"
535-
isCollapsed={isCollapsed}
536-
/>
537-
)}
527+
<SideMenuItem
528+
name="Errors"
529+
icon={IconBugFilled}
530+
activeIconColor="text-errors"
531+
inactiveIconColor="text-errors"
532+
to={v3ErrorsPath(organization, project, environment)}
533+
data-action="errors"
534+
isCollapsed={isCollapsed}
535+
/>
538536
<SideMenuItem
539537
name="Query"
540538
icon={TableCellsIcon}

0 commit comments

Comments
 (0)