add /edit stub
This commit is contained in:
parent
54cafaa1da
commit
248555f7ad
10 changed files with 175 additions and 36 deletions
|
|
@ -43,7 +43,7 @@ let { title, created_at, id, content = '', to } = post;
|
|||
<li><a href="/report/post/{id}"><RiFlagLine/> Report</a></li>
|
||||
{/if}
|
||||
{#if me && me.id === post.author?.id }
|
||||
<li><a href="/edit/post/{id}"><RiEditLine/> Edit</a></li>
|
||||
<li><a href="/edit/={id}"><RiEditLine/> Edit</a></li>
|
||||
{/if}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue