Skip to content

Commit

Permalink
Update datatable for GitHub lists
Browse files Browse the repository at this point in the history
  • Loading branch information
AlenkaF committed Jul 20, 2024
1 parent 23a93d9 commit 0ad89fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ dt_show_issues <- function(x){
selected_rows <- which(display_data$new_contributor == TRUE)
DT::datatable(
select(display_data, -new_contributor),
rownames = FALSE,
escape = FALSE,
extensions = 'Buttons',
options = list(
Expand All @@ -63,7 +64,7 @@ dt_show_issues <- function(x){
pageLength = 10
)
) %>%
formatDate("created_at", method = "toUTCString") %>%
formatDate("created_at", method = "toDateString") %>%
formatStyle("created_at", target = "row", backgroundColor = styleRow(selected_rows, 'lightblue'))
}

Expand Down

0 comments on commit 0ad89fa

Please sign in to comment.