mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-27 08:16:20 +00:00
Merge branch 'main' into error-page-fix
This commit is contained in:
commit
0f5c34da2b
|
@ -128,10 +128,10 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
|
||||
componentDidMount(): void {
|
||||
if (UserService.Instance.myUserInfo) {
|
||||
const { auto_expand, blur_nsfw } = UserService.Instance.myUserInfo.local_user_view.local_user;
|
||||
this.setState({
|
||||
imageExpanded:
|
||||
UserService.Instance.myUserInfo.local_user_view.local_user
|
||||
.auto_expand,
|
||||
auto_expand && !(blur_nsfw && this.postView.post.nsfw),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue