aboutsummaryrefslogtreecommitdiff
path: root/find_session.v
diff options
context:
space:
mode:
Diffstat (limited to 'find_session.v')
-rw-r--r--find_session.v3
1 files changed, 1 insertions, 2 deletions
diff --git a/find_session.v b/find_session.v
index a4a94b2..aebf2b4 100644
--- a/find_session.v
+++ b/find_session.v
@@ -144,8 +144,7 @@ fn (mut app App) find_session(district_id int,date string) {
return
}
- app.data.available_sessions = session_data.sessions
- .filter( it.available_capacity > 0 && it.min_age_limit<45)
+ app.data.available_sessions = session_data.sessions.filter( it.available_capacity > 0 && it.min_age_limit<45)
app.is_loading = false
}