better handling of textbox focus for mobile
This commit is contained in:
parent
798e879863
commit
d7ab67de77
3 changed files with 107 additions and 22 deletions
|
@ -12,7 +12,7 @@ class RecipeModel {
|
|||
|
||||
async getAllRecipes(): Promise<any[]> {
|
||||
try {
|
||||
logger.info("index page view")
|
||||
logger.info("index page view");
|
||||
return await this.prisma.recipes.findMany();
|
||||
} catch (err) {
|
||||
console.error("Error fetching all recipes:", err);
|
||||
|
@ -46,7 +46,10 @@ class RecipeModel {
|
|||
instruction: step.instruction,
|
||||
})),
|
||||
};
|
||||
logger.info("recipe page view", { recipe_id: data.details.id, recipe_name: data.details.name })
|
||||
logger.info("recipe page view", {
|
||||
recipe_id: data.details.id,
|
||||
recipe_name: data.details.name,
|
||||
});
|
||||
return data;
|
||||
} catch (err) {
|
||||
console.log("Error finding recipe:", err);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue