mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-23 16:24:21 +01:00
update: add permissions to project
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -22,6 +22,7 @@ query ProjectDetails($projectId: Int!) {
|
||||
icon
|
||||
title
|
||||
}
|
||||
permissions
|
||||
members {
|
||||
role
|
||||
user {
|
||||
|
||||
Reference in New Issue
Block a user