Fix note linked text in timeline view (in dark mode) (#6944)
This PR Fixes https://github.com/twentyhq/twenty/issues/6942 Other improvements : - Fetch activities (note and task) title only when loading timeline, so we don't always have a clickable title. - Fixed IconButton width regression. --------- Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
@ -11,13 +11,13 @@ export const useCombinedFindManyRecords = ({
|
||||
skip = false,
|
||||
}: {
|
||||
operationSignatures: RecordGqlOperationSignature[];
|
||||
skip: boolean;
|
||||
skip?: boolean;
|
||||
}) => {
|
||||
const findManyQuery = useGenerateCombinedFindManyRecordsQuery({
|
||||
operationSignatures,
|
||||
});
|
||||
|
||||
const { data } = useQuery<MultiObjectRecordQueryResult>(
|
||||
const { data, loading } = useQuery<MultiObjectRecordQueryResult>(
|
||||
findManyQuery ?? EMPTY_QUERY,
|
||||
{
|
||||
skip,
|
||||
@ -35,5 +35,6 @@ export const useCombinedFindManyRecords = ({
|
||||
|
||||
return {
|
||||
result: resultWithoutConnection,
|
||||
loading,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user