Fix 2 small bugs following tasks migration (#6483)
This PR fixes two bugs: - A broken link to the task page that had been left on the mobile version - On Kanban cards, the badge for notes/tasks wasn't properly displayed because the title wasn't loaded from the backend
This commit is contained in:
@ -44,6 +44,18 @@ export const useRecordBoardRecordGqlFields = ({
|
||||
),
|
||||
...(hasPositionField(objectMetadataItem) ? { position: true } : undefined),
|
||||
...identifierQueryFields,
|
||||
noteTargets: {
|
||||
note: {
|
||||
id: true,
|
||||
title: true,
|
||||
},
|
||||
},
|
||||
taskTargets: {
|
||||
task: {
|
||||
id: true,
|
||||
title: true,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
if (isDefined(kanbanFieldMetadataName)) {
|
||||
|
||||
Reference in New Issue
Block a user