Note: fix update permissioning logic

This commit is contained in:
Liam Fitzgerald 2021-02-10 19:04:17 +10:00
parent c9f77566b5
commit eaa900e9b4
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -52,7 +52,7 @@ export function Note(props: NoteProps & RouteComponentProps) {
let adminLinks: JSX.Element | null = null;
if (true || window.ship === note?.post?.author) {
if (window.ship === note?.post?.author) {
adminLinks = (
<Box display="inline-block" verticalAlign="middle">
<Link to={`${baseUrl}/edit`}>