From da935dc541950b86bc6d241a5d764d866ba1d30b Mon Sep 17 00:00:00 2001 From: Peppa Date: Mon, 16 Nov 2026 06:28:45 +0500 Subject: [PATCH] =?UTF-8?q?WTC-26:=20=D0=BF=D0=BE=D0=BA=D0=B0=D0=B7=D1=8B?= =?UTF-8?q?=D0=B2=D0=B0=D1=82=D1=8C=20=D0=BF=D0=BE=D0=B4=D1=81=D0=BA=D0=B0?= =?UTF-8?q?=D0=B7=D0=BA=D1=83=20=C2=AB=D0=A0=D0=B5=D1=86=D0=B5=D0=BF=D1=82?= =?UTF-8?q?=D0=B0=20=D0=BD=D0=B5=D1=82=C2=BB=20=D0=BD=D0=B0=20=D0=BF=D1=83?= =?UTF-8?q?=D1=81=D1=82=D0=BE=D0=BC=20=D1=8D=D0=BA=D1=80=D0=B0=D0=BD=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.js b/src/app.js index bc9b5e5..d93f5d9 100644 --- a/src/app.js +++ b/src/app.js @@ -53,7 +53,7 @@ function render() { $("addExample").textContent = example === null ? "" : t.addExample.replace("{name}", example); $("addExample").dataset.name = example ?? ""; $("noRecipeHint").textContent = t.noRecipeHint; - $("noRecipeHint").hidden = !hasNoRecipe(state.dishes, findRecipe); + $("noRecipeHint").hidden = n !== 0 && !hasNoRecipe(state.dishes, findRecipe); const ul = $("list"); ul.replaceChildren(...state.dishes.map((d) => { const li = document.createElement("li");