diff --git a/schema.graphql b/schema.graphql index 648b1eed..a46d9938 100644 --- a/schema.graphql +++ b/schema.graphql @@ -637,7 +637,7 @@ type Team implements Node { apps(after: Cursor, before: Cursor, first: Int, last: Int): AppConnection! deployKey: DeploymentKey! deployments(after: Cursor, before: Cursor, first: Int, last: Int, limit: Int): DeploymentConnection! - description: String + description: String! githubRepositories(after: Cursor, first: Int): GithubRepositoryConnection! id: ID! members(after: Cursor, before: Cursor, first: Int, last: Int): TeamMemberConnection! diff --git a/src/routes/team/[team]/(teamTabs)/+layout.gql b/src/routes/team/[team]/(teamTabs)/+layout.gql index dcd3c4dd..fcda8ef9 100644 --- a/src/routes/team/[team]/(teamTabs)/+layout.gql +++ b/src/routes/team/[team]/(teamTabs)/+layout.gql @@ -1,5 +1,5 @@ query TeamRoles($team: String!) { - team(name: $team) { + team(name: $team) @loading { viewerIsAdmin viewerIsMember } diff --git a/src/routes/team/[team]/(teamTabs)/+layout.svelte b/src/routes/team/[team]/(teamTabs)/+layout.svelte index e242b780..93c6a687 100644 --- a/src/routes/team/[team]/(teamTabs)/+layout.svelte +++ b/src/routes/team/[team]/(teamTabs)/+layout.svelte @@ -1,7 +1,9 @@