This commit is contained in:
Joshua T Flowers 2021-02-18 12:27:04 -05:00 committed by GitHub
parent 589283f652
commit 8371325ba6
1 changed files with 2 additions and 2 deletions

View File

@ -160,7 +160,7 @@ const Container = ( { menuItems } ) => {
];
return [
( !! primaryAndFavoriteItems ||
( !! primaryAndFavoriteItems.length ||
!! pluginItems ) && (
<NavigationMenu
key={ category.id }
@ -188,7 +188,7 @@ const Container = ( { menuItems } ) => {
)
}
>
{ !! primaryAndFavoriteItems && (
{ !! primaryAndFavoriteItems.length && (
<NavigationGroup>
{ primaryAndFavoriteItems.map(
( item ) => (