mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-10 02:15:11 +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 {
|
componentDidMount(): void {
|
||||||
if (UserService.Instance.myUserInfo) {
|
if (UserService.Instance.myUserInfo) {
|
||||||
|
const { auto_expand, blur_nsfw } = UserService.Instance.myUserInfo.local_user_view.local_user;
|
||||||
this.setState({
|
this.setState({
|
||||||
imageExpanded:
|
imageExpanded:
|
||||||
UserService.Instance.myUserInfo.local_user_view.local_user
|
auto_expand && !(blur_nsfw && this.postView.post.nsfw),
|
||||||
.auto_expand,
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue