mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
boris new comments only for users
This commit is contained in:
parent
2f01943536
commit
b8d35615f4
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ const HeaderUnconnected: FC<IProps> = memo(
|
||||||
|
|
||||||
const hasBorisUpdates = useMemo(
|
const hasBorisUpdates = useMemo(
|
||||||
() =>
|
() =>
|
||||||
|
is_user &&
|
||||||
boris_commented_at &&
|
boris_commented_at &&
|
||||||
(!last_seen_boris || isBefore(new Date(last_seen_boris), new Date(boris_commented_at))),
|
(!last_seen_boris || isBefore(new Date(last_seen_boris), new Date(boris_commented_at))),
|
||||||
[boris_commented_at, last_seen_boris]
|
[boris_commented_at, last_seen_boris]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue