From e4a70eafc19f1b9030e8d78d716aaa4241a01893 Mon Sep 17 00:00:00 2001 From: Vamsi krishna Date: Thu, 20 Feb 2025 18:14:13 +0530 Subject: [PATCH] fix: add favorites --- web/core/hooks/use-favorite-item-details.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/core/hooks/use-favorite-item-details.tsx b/web/core/hooks/use-favorite-item-details.tsx index 114438b0431..b873ad07b57 100644 --- a/web/core/hooks/use-favorite-item-details.tsx +++ b/web/core/hooks/use-favorite-item-details.tsx @@ -13,7 +13,7 @@ import { useProject, useProjectView, useCycle, useModule } from "@/hooks/store"; import { EPageStoreType, usePage } from "@/plane-web/hooks/store"; export const useFavoriteItemDetails = (workspaceSlug: string, favorite: IFavorite) => { - const favoriteItemId = favorite?.entity_data?.id; + const favoriteItemId = favorite?.entity_identifier; const favoriteItemLogoProps = favorite?.entity_data?.logo_props; const favoriteItemName = favorite?.entity_data?.name || favorite?.name; const favoriteItemEntityType = favorite?.entity_type;