mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
Merge pull request #1032 from Unleash/fix/admin-route-flags-bug
fix: admin routes bug
This commit is contained in:
commit
ed0687fe3f
@ -63,9 +63,9 @@ const Header: VFC = () => {
|
||||
const filteredMainRoutes = {
|
||||
mainNavRoutes: routes.mainNavRoutes.filter(filterByFlags(flags)),
|
||||
mobileRoutes: routes.mobileRoutes.filter(filterByFlags(flags)),
|
||||
adminRoutes: routes.adminRoutes.filter(
|
||||
filterByFlags(flags) && filterByBilling(isBilling)
|
||||
),
|
||||
adminRoutes: routes.adminRoutes
|
||||
.filter(filterByFlags(flags))
|
||||
.filter(filterByBilling(isBilling)),
|
||||
};
|
||||
|
||||
if (smallScreen) {
|
||||
|
Loading…
Reference in New Issue
Block a user