mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-02 15:13:25 +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;
|
||||
if (true || window.ship === note?.post?.author) {
|
||||
if (window.ship === note?.post?.author) {
|
||||
adminLinks = (
|
||||
<Box display="inline-block" verticalAlign="middle">
|
||||
<Link to={`${baseUrl}/edit`}>
|
||||
|
Loading…
Reference in New Issue
Block a user