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/search.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/search.tsx')
-rw-r--r-- | ui/src/components/search.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/src/components/search.tsx b/ui/src/components/search.tsx index d92c06e1..00c670d8 100644 --- a/ui/src/components/search.tsx +++ b/ui/src/components/search.tsx @@ -20,6 +20,7 @@ import { routeSearchTypeToEnum, routeSortTypeToEnum, pictshareAvatarThumbnail, + showAvatars, } from '../utils'; import { PostListing } from './post-listing'; import { SortSelect } from './sort-select'; @@ -288,7 +289,7 @@ export class Search extends Component<any, SearchState> { className="text-info" to={`/u/${(i.data as UserView).name}`} > - {(i.data as UserView).avatar && ( + {(i.data as UserView).avatar && showAvatars() && ( <img height="32" width="32" |