- {routes.server
- .filter((route) => !!route.name)
- .map((route) =>
- route.permission ? (
-
-
- {route.name}
-
-
- ) : (
-
+
+ {routes.server
+ .filter((route) => !!route.name)
+ .map((route) =>
+ route.permission ? (
+
+
+
+
+
{route.name}
- )
- )}
- {rootAdmin && (
- // eslint-disable-next-line react/jsx-no-target-blank
-
-
-
+
+ ) : (
+
+
+
+
+ {route.name}{' '}
+
+ )
)}
-
-