Skip to content
Snippets Groups Projects
Commit 59d96234 authored by Ilja's avatar Ilja Committed by Haelwenn
Browse files

Correct order of routes

We check for the first unhidden route, so the order needs to match the order on the sidebar. This is now fixed.
parent 3fb1ec2c
No related branches found
No related tags found
3 merge requests!326Mergeback: 2.5.0,!315Handle moderation privileges,!282Release/2.5.0
......@@ -193,11 +193,11 @@ export const asyncRouterMap = [
},
...(statusesDisabled ? [] : [statuses]),
...(reportsDisabled ? [] : [reports]),
...(invitesDisabled ? [] : [invites]),
...(moderationLogDisabled ? [] : [moderationLog]),
...(relaysDisabled ? [] : [relays]),
...(mediaProxyCacheDisabled ? [] : [mediaProxyCache]),
...(settingsDisabled ? [] : [settings]),
...(invitesDisabled ? [] : [invites]),
{
path: '/users/:id',
component: Layout,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment