]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/components/comment/comment-form.tsx
Feature/user community block (#362)
[lemmy-ui.git] / src / shared / components / comment / comment-form.tsx
index b7687c802eb221ba449960682d0d1292a8f04c3d..95dff716080238e57665658d385fe8409f479eb4 100644 (file)
@@ -68,7 +68,7 @@ export class CommentForm extends Component<CommentFormProps, CommentFormState> {
   render() {
     return (
       <div class="mb-3">
-        {UserService.Instance.localUserView ? (
+        {UserService.Instance.myUserInfo ? (
           <MarkdownTextArea
             initialContent={
               this.props.edit
@@ -135,7 +135,7 @@ export class CommentForm extends Component<CommentFormProps, CommentFormState> {
     console.log(msg);
 
     // Only do the showing and hiding if logged in
-    if (UserService.Instance.localUserView) {
+    if (UserService.Instance.myUserInfo) {
       if (
         op == UserOperation.CreateComment ||
         op == UserOperation.EditComment