admin panel link
This commit is contained in:
parent
26f2a10d0a
commit
83552baac3
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ export default async function Home({
|
|||
<ConditionalNull condition={existingUser != null}>
|
||||
<p>Logged in as <a href={`/jams/user/${existingUser?.id}`}>{existingUser?.username}@{existingUser?.instance}</a> (<a href="/jams/oauth/logout">Logout</a>)</p>
|
||||
<ConditionalNull condition={existingUser?.admin == true}><p><a href="/jams/new/jam">Create Jam</a></p></ConditionalNull>
|
||||
<ConditionalNull condition={existingUser?.admin == true}><p><a href="/jams/admin">Admin panel</a></p></ConditionalNull>
|
||||
</ConditionalNull>
|
||||
<h1>Jams</h1>
|
||||
{jams.map(async (jam:JSONJamTable) => {
|
||||
|
|
Loading…
Reference in a new issue