From: Dessalines Date: Wed, 28 Sep 2022 12:50:47 +0000 (-0400) Subject: Adding private message reporting. Fixes #782 (#806) X-Git-Url: http://these/git/%22%7Burl%7D/%22https:/image.com/%7B%60%24%7BghostArchiveUrl%7D/%7BallRss%7D?a=commitdiff_plain;h=dc62cab7e949d315865636b97110c37a4b401d66;p=lemmy-ui.git Adding private message reporting. Fixes #782 (#806) --- diff --git a/package.json b/package.json index b3a41ab..20188e9 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "eslint-plugin-prettier": "^4.2.1", "husky": "^8.0.1", "import-sort-style-module": "^6.0.0", - "lemmy-js-client": "0.17.0-rc.45", + "lemmy-js-client": "0.17.0-rc.46", "lint-staged": "^13.0.3", "mini-css-extract-plugin": "^2.6.1", "node-fetch": "^2.6.1", diff --git a/src/shared/components/app/navbar.tsx b/src/shared/components/app/navbar.tsx index dbf978e..d6bc772 100644 --- a/src/shared/components/app/navbar.tsx +++ b/src/shared/components/app/navbar.tsx @@ -1,4 +1,4 @@ -import { None, Some } from "@sniptt/monads"; +import { None } from "@sniptt/monads"; import { Component, createRef, linkEvent, RefObject } from "inferno"; import { NavLink } from "inferno-router"; import { @@ -209,7 +209,7 @@ export class Navbar extends Component { )} - {this.amAdmin && ( + {amAdmin() && ( )} - {this.amAdmin && ( + {amAdmin() && (