[FE] handle restricted objects 2 (#12437)
Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -95,9 +95,8 @@ export const sortFavorites = (
|
||||
} as ProcessedFavorite;
|
||||
}
|
||||
}
|
||||
return {
|
||||
...favorite,
|
||||
} as ProcessedFavorite;
|
||||
return null;
|
||||
})
|
||||
.filter(isDefined)
|
||||
.sort((a, b) => a.position - b.position);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user