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>
|
||||
<SidebarTitle>TASK GROUP</SidebarTitle>
|
||||
<SidebarButton>
|
||||
<SidebarButtonText>Release 0.1.0</SidebarButtonText>
|
||||
<SidebarButtonText>{task.taskGroup.name}</SidebarButtonText>
|
||||
</SidebarButton>
|
||||
<DueDateTitle>DUE DATE</DueDateTitle>
|
||||
<SidebarButton
|
||||
|
@ -1264,7 +1264,7 @@ export type FindTaskQuery = (
|
||||
& Pick<Task, 'id' | 'name' | 'description' | 'dueDate' | 'position' | 'complete'>
|
||||
& { taskGroup: (
|
||||
{ __typename?: 'TaskGroup' }
|
||||
& Pick<TaskGroup, 'id'>
|
||||
& Pick<TaskGroup, 'id' | 'name'>
|
||||
), badges: (
|
||||
{ __typename?: 'TaskBadges' }
|
||||
& { checklist?: Maybe<(
|
||||
@ -2702,6 +2702,7 @@ export const FindTaskDocument = gql`
|
||||
complete
|
||||
taskGroup {
|
||||
id
|
||||
name
|
||||
}
|
||||
badges {
|
||||
checklist {
|
||||
|
@ -8,6 +8,7 @@ query findTask($taskID: UUID!) {
|
||||
complete
|
||||
taskGroup {
|
||||
id
|
||||
name
|
||||
}
|
||||
badges {
|
||||
checklist {
|
||||
|
Loading…
Reference in New Issue
Block a user