fix: show correct task group in task details
This commit is contained in:
parent
923d7f7372
commit
e76ea9da63
@ -169,7 +169,7 @@ const TaskDetails: React.FC<TaskDetailsProps> = ({
|
|||||||
<LeftSidebarSection>
|
<LeftSidebarSection>
|
||||||
<SidebarTitle>TASK GROUP</SidebarTitle>
|
<SidebarTitle>TASK GROUP</SidebarTitle>
|
||||||
<SidebarButton>
|
<SidebarButton>
|
||||||
<SidebarButtonText>Release 0.1.0</SidebarButtonText>
|
<SidebarButtonText>{task.taskGroup.name}</SidebarButtonText>
|
||||||
</SidebarButton>
|
</SidebarButton>
|
||||||
<DueDateTitle>DUE DATE</DueDateTitle>
|
<DueDateTitle>DUE DATE</DueDateTitle>
|
||||||
<SidebarButton
|
<SidebarButton
|
||||||
|
@ -1264,7 +1264,7 @@ export type FindTaskQuery = (
|
|||||||
& Pick<Task, 'id' | 'name' | 'description' | 'dueDate' | 'position' | 'complete'>
|
& Pick<Task, 'id' | 'name' | 'description' | 'dueDate' | 'position' | 'complete'>
|
||||||
& { taskGroup: (
|
& { taskGroup: (
|
||||||
{ __typename?: 'TaskGroup' }
|
{ __typename?: 'TaskGroup' }
|
||||||
& Pick<TaskGroup, 'id'>
|
& Pick<TaskGroup, 'id' | 'name'>
|
||||||
), badges: (
|
), badges: (
|
||||||
{ __typename?: 'TaskBadges' }
|
{ __typename?: 'TaskBadges' }
|
||||||
& { checklist?: Maybe<(
|
& { checklist?: Maybe<(
|
||||||
@ -2702,6 +2702,7 @@ export const FindTaskDocument = gql`
|
|||||||
complete
|
complete
|
||||||
taskGroup {
|
taskGroup {
|
||||||
id
|
id
|
||||||
|
name
|
||||||
}
|
}
|
||||||
badges {
|
badges {
|
||||||
checklist {
|
checklist {
|
||||||
|
@ -8,6 +8,7 @@ query findTask($taskID: UUID!) {
|
|||||||
complete
|
complete
|
||||||
taskGroup {
|
taskGroup {
|
||||||
id
|
id
|
||||||
|
name
|
||||||
}
|
}
|
||||||
badges {
|
badges {
|
||||||
checklist {
|
checklist {
|
||||||
|
Loading…
Reference in New Issue
Block a user