mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Fixing suggested Tag color.
This commit is contained in:
parent
c628af4f49
commit
22237dfcbb
1 changed files with 1 additions and 2 deletions
|
|
@ -118,9 +118,8 @@ export function useSearchSuggestions() {
|
|||
};
|
||||
|
||||
const resultRenderer = ({type, title, description}) => {
|
||||
description = description !== null ? <SHeader as='h5'>{description}</SHeader> : null;
|
||||
if (type === 'tag') {
|
||||
return <SingleTag name={title}/>;
|
||||
return <SingleTag name={description}/>;
|
||||
}
|
||||
|
||||
// No specific renderer, use the generic.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue