]> Untitled Git - lemmy-ui.git/commitdiff
Don't show your own subscribed on other users profiles. (#405)
authorDessalines <dessalines@users.noreply.github.com>
Mon, 6 Sep 2021 15:03:18 +0000 (11:03 -0400)
committerGitHub <noreply@github.com>
Mon, 6 Sep 2021 15:03:18 +0000 (11:03 -0400)
- Fixes #402

src/shared/components/person/profile.tsx

index 815f2fd3791beedbe939ed3a3652e0153cf45fd1..591b503681810c89d7cffe487f1f922c401e07d2 100644 (file)
@@ -251,7 +251,7 @@ export class Profile extends Component<any, ProfileState> {
             {!this.state.loading && (
               <div class="col-12 col-md-4">
                 {this.moderates()}
-                {UserService.Instance.myUserInfo && this.follows()}
+                {this.isCurrentUser && this.follows()}
               </div>
             )}
           </div>