mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
boris and flow for everyone
This commit is contained in:
parent
872e91b39b
commit
0d64d847a1
2 changed files with 11 additions and 12 deletions
|
@ -60,7 +60,6 @@ const HeaderUnconnected: FC<IProps> = memo(
|
|||
|
||||
<Filler />
|
||||
|
||||
{is_user && (
|
||||
<div className={style.plugs}>
|
||||
<Link className={style.item} to={URLS.BASE}>
|
||||
ФЛОУ
|
||||
|
@ -69,12 +68,12 @@ const HeaderUnconnected: FC<IProps> = memo(
|
|||
<Link className={style.item} to={URLS.BORIS}>
|
||||
БОРИС
|
||||
</Link>
|
||||
|
||||
{is_user && (
|
||||
<div className={style.item}>
|
||||
<Notifications />
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{is_user && (
|
||||
<UserButton user={user} onLogout={authLogout} authOpenProfile={authOpenProfile} />
|
||||
|
|
|
@ -89,7 +89,7 @@ export const formatText = (text: string): string =>
|
|||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>')
|
||||
.replace(
|
||||
/~([\wа-яА-Я\-]+)/giu,
|
||||
/~([\wа-яА-Я-]+)/giu,
|
||||
'<span class="username" onClick="window.postMessage({ type: \'username\', username: \'$1\'});">~$1</span>'
|
||||
)
|
||||
.replace(/:\/\//gim, ':|--|')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue