Rework chat item link to support bookmarking recipes and groups (#971)

This commit is contained in:
slprime authored and GitHub committed 2026-07-11 20:38:01 +03:00
1 parent 5e6ff1d63b
commit 2c204c25aa
21 files changed
+551 -115

No files matched your search

@@ -1294,7 +1294,7 @@ public class BookmarkPanel extends PanelWidget<BookmarkGrid> {
public BookmarkRecipeId getBookmarkRecipeId(int itemIndex) {
BookmarkItem item = this.grid.getCalculatedItem(itemIndex);
return item == null || item.type == BookmarkItemType.INGREDIENT || item.recipeId == null ? null
: new BookmarkRecipeId(item.recipeId.getHandleName(), item.recipeId.getIngredients());
: new BookmarkRecipeId(item.recipeId.getHandlerName(), item.recipeId.getIngredients());
}
@Deprecated