mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-21 23:48:47 +00:00
Fix: Remove empty values from recently search value (#1807)
* fix: fix miner changes * Fix: remove empty values from recently search term
This commit is contained in:
parent
b422b150d7
commit
3d50f15e97
@ -235,7 +235,9 @@ const Appbar: React.FC = (): JSX.Element => {
|
|||||||
const target = e.target as HTMLInputElement;
|
const target = e.target as HTMLInputElement;
|
||||||
if (e.key === 'Enter') {
|
if (e.key === 'Enter') {
|
||||||
setIsOpen(false);
|
setIsOpen(false);
|
||||||
addToRecentSearched(target.value);
|
if (target.value) {
|
||||||
|
addToRecentSearched(target.value);
|
||||||
|
}
|
||||||
history.push(
|
history.push(
|
||||||
getExplorePathWithSearch(
|
getExplorePathWithSearch(
|
||||||
target.value,
|
target.value,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user