mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-03 14:37:05 +03:00
Note: fix update permissioning logic
This commit is contained in:
parent
c9f77566b5
commit
eaa900e9b4
@ -52,7 +52,7 @@ export function Note(props: NoteProps & RouteComponentProps) {
|
|||||||
|
|
||||||
|
|
||||||
let adminLinks: JSX.Element | null = null;
|
let adminLinks: JSX.Element | null = null;
|
||||||
if (true || window.ship === note?.post?.author) {
|
if (window.ship === note?.post?.author) {
|
||||||
adminLinks = (
|
adminLinks = (
|
||||||
<Box display="inline-block" verticalAlign="middle">
|
<Box display="inline-block" verticalAlign="middle">
|
||||||
<Link to={`${baseUrl}/edit`}>
|
<Link to={`${baseUrl}/edit`}>
|
||||||
|
Loading…
Reference in New Issue
Block a user