mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
did nothing
This commit is contained in:
parent
6714721adf
commit
644a15b782
2 changed files with 5 additions and 1 deletions
|
@ -51,7 +51,9 @@ export const RouteRowView = ({
|
||||||
(tab === 'all' || tab === 'starred') && is_starred && !is_admin &&
|
(tab === 'all' || tab === 'starred') && is_starred && !is_admin &&
|
||||||
<Icon icon="icon-star-fill" size={18} />
|
<Icon icon="icon-star-fill" size={18} />
|
||||||
}
|
}
|
||||||
<span>{(title || _id)}</span>
|
<span>
|
||||||
|
{(title || _id)}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="route-description">
|
<div className="route-description">
|
||||||
|
|
|
@ -15,3 +15,5 @@ export const toTranslit = (string: string): string => (
|
||||||
);
|
);
|
||||||
|
|
||||||
export const parseDesc = (text: string): string => text.replace(/(\n{2,})/ig, "\n\n");
|
export const parseDesc = (text: string): string => text.replace(/(\n{2,})/ig, "\n\n");
|
||||||
|
|
||||||
|
// export const colorizeTitle = (text: string): string => text.replace(/(\[[^\]^]+\])/, ``)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue