diff options
author | Dessalines <tyhou13@gmx.com> | 2020-01-02 16:55:54 -0500 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-01-02 16:55:54 -0500 |
commit | 5b42dc3393431184293ded2f9d30a11fe5548d52 (patch) | |
tree | e906ad2afdd3d7e9f8e0f6116d6023a42ba92d03 /ui/src/components/navbar.tsx | |
parent | 576980bf64fcde5ec66e0260c81ef3225dd264bd (diff) |
Adding show_avatar user setting, and option to send notifications to inbox.
- Fixes #254
- Fixes #394
Diffstat (limited to 'ui/src/components/navbar.tsx')
-rw-r--r-- | ui/src/components/navbar.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/components/navbar.tsx b/ui/src/components/navbar.tsx index f1a98941..f1c35b1f 100644 --- a/ui/src/components/navbar.tsx +++ b/ui/src/components/navbar.tsx @@ -13,7 +13,7 @@ import { GetSiteResponse, Comment, } from '../interfaces'; -import { msgOp, pictshareAvatarThumbnail } from '../utils'; +import { msgOp, pictshareAvatarThumbnail, showAvatars } from '../utils'; import { version } from '../version'; import { i18n } from '../i18next'; import { T } from 'inferno-i18next'; @@ -152,7 +152,7 @@ export class Navbar extends Component<any, NavbarState> { to={`/u/${UserService.Instance.user.username}`} > <span> - {UserService.Instance.user.avatar && ( + {UserService.Instance.user.avatar && showAvatars() && ( <img src={pictshareAvatarThumbnail( UserService.Instance.user.avatar |