diff --git a/src/Components/Map/Subcomponents/Controls/SearchControl.tsx b/src/Components/Map/Subcomponents/Controls/SearchControl.tsx index a694d82b..b6ed1c3a 100644 --- a/src/Components/Map/Subcomponents/Controls/SearchControl.tsx +++ b/src/Components/Map/Subcomponents/Controls/SearchControl.tsx @@ -104,8 +104,8 @@ export const SearchControl = () => { {hideSuggestions || Array.from(geoResults).length == 0 && itemsResults.length == 0 && tagsResults.length == 0 && !isGeoCoordinate(value)|| value.length == 0? "" :
{tagsResults.length > 0 && -
- {tagsResults.map(tag => ( +
+ {tagsResults.slice(0, 3).map(tag => (
{ addFilterTag(tag) let params = new URLSearchParams(window.location.search); diff --git a/src/Components/Profile/TagsWidget.tsx b/src/Components/Profile/TagsWidget.tsx index 55a6992b..49173ed5 100644 --- a/src/Components/Profile/TagsWidget.tsx +++ b/src/Components/Profile/TagsWidget.tsx @@ -82,7 +82,7 @@ export const TagsWidget = ({placeholder, containerStyle, defaultTags, onUpdate}) }} className={`tw-input tw-input-bordered tw-cursor-text ${containerStyle}`}>
{defaultTags.map((tag) => ( -
+
{decodeTag(tag.name)} diff --git a/src/Components/Templates/TagView.tsx b/src/Components/Templates/TagView.tsx index b560b71d..832e8aa7 100644 --- a/src/Components/Templates/TagView.tsx +++ b/src/Components/Templates/TagView.tsx @@ -6,7 +6,7 @@ export const TagView = ({tag, heighlight, onClick} : {tag: Tag, heighlight?: boo return ( // Use your imagination to render suggestions. -
+
{decodeTag(tag.name)}