Skip to content

Commit

Permalink
Added comment for trajectory table.
Browse files Browse the repository at this point in the history
  • Loading branch information
achasmita committed Sep 26, 2023
1 parent 6af10bb commit 3388281
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ def render_content(tab, store_uuids, store_trips, store_demographics, store_traj
columns = list(data[0].keys())
has_perm = perm_utils.has_permission('data_demographics')
elif tab == 'tab-trajectories-datatable':
# Currently store_trajectories data is loaded only when the respective tab is selected
#Here we query for trajectory data once "Trajectories" tab is selected
if store_trajectories == {}:
store_trajectories = update_store_trajectories()
data = store_trajectories["data"]
Expand Down

0 comments on commit 3388281

Please sign in to comment.