diff --git a/core/src/App.svelte b/core/src/App.svelte index f716a76725..48188f0fe5 100644 --- a/core/src/App.svelte +++ b/core/src/App.svelte @@ -263,6 +263,7 @@ navigationPath, context, pathParams, + hideGlobalSearch, hideSideNav, isolateView, pageErrorHandler, @@ -300,6 +301,8 @@ context = obj.context; } else if (prop === 'pathParams') { pathParams = obj.pathParams; + } else if (prop === 'hideGlobalSearch') { + hideGlobalSearch = obj.hideGlobalSearch; } else if (prop === 'hideSideNav') { if (hideSideNav != obj.hideSideNav) { noAnimation = true; @@ -655,6 +658,7 @@ /// RESIZING let hideNav; + let hideGlobalSearch; let hideSideNav; let noAnimation; let previousWindowWidth; @@ -1868,6 +1872,7 @@
{#if !isHeaderDisabled}
- {#if globalSearchConfig && isGlobalSearchCentered} + {#if globalSearchConfig && isGlobalSearchCentered && !hideSearchComponent}