1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-29 14:46:41 +07:00

add experimental room

This commit is contained in:
Fedor Katurov 2023-10-26 18:38:33 +06:00
parent 0605ceb263
commit 39eb97b777
7 changed files with 309 additions and 7 deletions

View file

@ -27,7 +27,7 @@ export interface HeaderProps {}
const Header: FC<HeaderProps> = observer(() => {
const [isScrolled, setIsScrolled] = useState(false);
const { showModal } = useModal();
const { isUser, user, fetched } = useAuth();
const { isUser, user, fetched, isTester } = useAuth();
const { hasFlowUpdates, hasLabUpdates } = useFlow();
const { borisCommentedAt } = useUpdates();
const { indicatorEnabled } = useNotifications();
@ -86,6 +86,17 @@ const Header: FC<HeaderProps> = observer(() => {
ЛАБ
</Anchor>
{isTester && (
<Anchor
className={classNames(styles.item, styles.lab, {
[styles.has_dot]: hasLabUpdates && !indicatorEnabled,
})}
href={URLS.ROOM}
>
РУМ
</Anchor>
)}
<Anchor
className={classNames(styles.item, styles.boris, {
[styles.has_dot]: hasBorisUpdates && !indicatorEnabled,