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:
parent
0605ceb263
commit
39eb97b777
7 changed files with 309 additions and 7 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue