Skip to content

Commit

Permalink
chore: rebase conflict resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepanshKhurana committed Sep 14, 2024
1 parent dddec91 commit 682a34b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
13 changes: 12 additions & 1 deletion app/logic/api_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ put_row <- function(
) |>
t() |>
data.frame() |>
dplyr::filter(
filter(
column_name != "created_at"
)

Expand All @@ -237,6 +237,17 @@ put_row <- function(
table_schema
)

input_list <- lapply(
input_list,
function(value) {
if (is.null(value) || (is.character(value) && trimws(value) == "")) {
NA
} else {
value
}
}
)

request(make_endpoint(endpoint)) |>
req_headers(
accept = "*/*",
Expand Down
8 changes: 1 addition & 7 deletions app/main.R
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,7 @@ server <- function(id) {
get_data(
app_state$selected_table()
)
) |> select(
id,
everything()
) |>
select(
-created_at
)
)
}),
total_rows = shiny$eventReactive(app_state$table_data(), {
nrow(app_state$table_data())
Expand Down
7 changes: 1 addition & 6 deletions app/view/mod_selector.R
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,6 @@ server <- function(id, app_state) {
get_data(
app_state$selected_table()
)
) |> select(
id, everything()
)
})
}
Expand Down Expand Up @@ -266,10 +264,7 @@ server <- function(id, app_state) {
get_data(
app_state$selected_table()
)
) |> select(
id, everything()
) |>
select(-created_at)
)
})

}, ignoreInit = TRUE)
Expand Down

0 comments on commit 682a34b

Please sign in to comment.