Skip to content

Commit

Permalink
Merge pull request #12 from NorwegianVeterinaryInstitute/trish-secret
Browse files Browse the repository at this point in the history
Hide secret ingredient
  • Loading branch information
trishangu authored Sep 26, 2024
2 parents f6599aa + 7a64872 commit 32be13a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions mod_mainPanel.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ mainPanelServer <- function(id, board) {
name = paste0(Sys.getenv("USER_NAME"), '/cake_user_inputs'),
interval = 1000
)
pinned_cakes <- pinned_cakes()[,c(1:5,7)]
datatable(
pinned_cakes(),
pinned_cakes,
rownames = FALSE,
colnames = c(
"Date",
"Hour",
Expand All @@ -26,7 +28,8 @@ mainPanelServer <- function(id, board) {
"Person Name",
"Cake Description"
),
options = list(columnDefs = list(
options = list(
columnDefs = list(
list(targets = '_all', className = 'dt-center')
))
)
Expand Down

0 comments on commit 32be13a

Please sign in to comment.