From a8c981ee3ed0e3246f9e6c9a7dee1cc8fce75605 Mon Sep 17 00:00:00 2001 From: Julia Friesel <julia.friesel@gmail.com> Date: Tue, 5 Jun 2018 18:29:12 +0200 Subject: [PATCH] Only show days with temperature in list --- db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.js b/db.js index c8545265..9d74ac54 100644 --- a/db.js +++ b/db.js @@ -50,7 +50,7 @@ async function openDatabase() { }) // just for testing purposes, the highest temperature will be topmost // because I was too layz to make a scroll view - cycleDaysSortedbyTempValueView = db.objects('CycleDay').sorted('temperature.value', true) + cycleDaysSortedbyTempValueView = db.objects('CycleDay').filtered('temperature != null').sorted('temperature.value', true) cycleDaysSortedbyDate = db.objects('CycleDay').sorted('date', true) } -- GitLab