From bae9c8f41a2f2d83e5d88dbebbf9abe471ef9525 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Sun, 30 Oct 2016 15:34:39 -0400 Subject: Make completed next actions disappear Filter out completed next actions when you refresh the page or add a new next action. --- main.ur | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.ur b/main.ur index 195389d..b9b5699 100644 --- a/main.ur +++ b/main.ur @@ -49,7 +49,8 @@ fun renderNextAction action = -val renderNextActions = queryX1' (SELECT * FROM nextAction) renderNextAction +val renderNextActions = + queryX1' (SELECT * FROM nextAction WHERE nextAction.Done = FALSE) renderNextAction fun newNextAction name = id <- nextval nextActionId; -- cgit v1.2.3