Skip to content

Commit

Permalink
Hide the "source" column from the trip table
Browse files Browse the repository at this point in the history
Since it doesn't add that much at this point.
  • Loading branch information
shankari authored and asiripanich committed Dec 1, 2020
1 parent 0228d20 commit 30f0c1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/app_server.R
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ app_server <- function( input, output, session ) {
cols_to_remove_from_trips_table <- c("start_fmt_time0", "start_local_dt_timezone", "start_fmt_time",
"end_fmt_time0", "end_local_dt_timezone", "end_fmt_time",
"end_loc_coordinates", "start_loc_coordinates",
"duration", "distance", "geometry")
"duration", "distance", "geometry", "source")

observeEvent(data_r$click, {
callModule(mod_DT_server, "DT_ui_participants",
Expand All @@ -140,7 +140,7 @@ app_server <- function( input, output, session ) {
setdiff(c("start_fmt_time0", "start_local_dt_timezone", "start_local_time",
"end_fmt_time0", "end_local_dt_timezone", "end_local_time",
"end_loc_coordinates", "start_loc_coordinates", "duration", "distance",
"location_points"))
"location_points", "source"))
})

filtered_trips <-
Expand Down

0 comments on commit 30f0c1f

Please sign in to comment.