render() {
return (
<div class="mb-3">
- {UserService.Instance.localUserView ? (
+ {UserService.Instance.myUserInfo ? (
<MarkdownTextArea
initialContent={
this.props.edit
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