update: add permissions to project

This commit is contained in:
MTG2000
2022-09-25 11:30:29 +03:00
parent 757dcb2c5e
commit 4b4036fc57
3 changed files with 35 additions and 6 deletions

View File

@@ -19,6 +19,7 @@ export const bannerData = {
link: {
content: "Register Now",
url: createRoute({ type: "tournament", id: 1 }),
newTab: false
},
}
@@ -91,7 +92,7 @@ export default function Header() {
<div className="max-w-[90%]">
{headerLinks[1].title}
</div>
<Button color="white" href={headerLinks[1].link.url} newTab={headerLinks[1].link.newTab} className="mt-24">
<Button color="white" href={headerLinks[1].link.url} newTab={headerLinks[1].link.newTab ?? false} className="mt-24">
{headerLinks[1].link.content}
</Button>
</div>

View File

@@ -22,6 +22,7 @@ query ProjectDetails($projectId: Int!) {
icon
title
}
permissions
members {
role
user {