diff --git a/src/plugins/navigation/public/top_nav_menu/top_nav_menu.tsx b/src/plugins/navigation/public/top_nav_menu/top_nav_menu.tsx
index ffc6656144f8..e1d93a560e53 100644
--- a/src/plugins/navigation/public/top_nav_menu/top_nav_menu.tsx
+++ b/src/plugins/navigation/public/top_nav_menu/top_nav_menu.tsx
@@ -202,31 +202,20 @@ export function TopNavMenu(props: TopNavMenuProps): ReactElement | null {
// Show the SearchBar in-place
default:
- if (showDatePicker === TopNavMenuItemRenderType.IN_PORTAL) {
- return (
- <>
-
-
-
- {screenTitle}
-
- {renderMenu(menuClassName)}
-
-
-
-
-
- {renderSearchBar({ datePickerRef })}
- >
- );
- }
-
return (
<>
- {renderMenu(menuClassName)}
+
+
+ {screenTitle}
+
+ {renderMenu(menuClassName)}
+
+
+
+
- {renderSearchBar()}
+ {renderSearchBar({ datePickerRef })}
>
);
}