Fix navigator search

This commit is contained in:
Bill 2022-03-17 12:11:37 -04:00
parent 73d0c9bb12
commit 98a2827a4a
2 changed files with 2 additions and 2 deletions

View File

@ -235,8 +235,6 @@ export const NavigatorView: FC<{}> = props =>
{
if(!isVisible || !LAST_SEARCH || !LAST_SEARCH.length) return;
console.log(LAST_SEARCH)
CreateLinkEvent(`navigator/search/${ LAST_SEARCH }`);
}, [ isVisible ]);

View File

@ -47,6 +47,8 @@ export const NavigatorSearchView: FC<NavigatorSearchViewProps> = props =>
useEffect(() =>
{
if(!searchResult || !searchResult.data) return;
const searchResultDataParts = searchResult.data.split(':');
LAST_SEARCH = `${ topLevelContext.code }/${ searchResult.data }`;