diff options
author | Benjamin Barenblat <bbaren@mit.edu> | 2016-10-30 15:34:39 -0400 |
---|---|---|
committer | Benjamin Barenblat <bbaren@mit.edu> | 2016-10-30 15:34:39 -0400 |
commit | bae9c8f41a2f2d83e5d88dbebbf9abe471ef9525 (patch) | |
tree | d7f02a52b2a6e317c0c18b7d04e7a0a7c054711e | |
parent | 8718bb7ff233e224f35ca46773165dc1ee0d8b03 (diff) |
Make completed next actions disappear
Filter out completed next actions when you refresh the page or add a
new next action.
-rw-r--r-- | main.ur | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -49,7 +49,8 @@ fun renderNextAction action = </li> </xml> -val renderNextActions = queryX1' (SELECT * FROM nextAction) renderNextAction +val renderNextActions = + queryX1' (SELECT * FROM nextAction WHERE nextAction.Done = FALSE) renderNextAction fun newNextAction name = id <- nextval nextActionId; |