Skip to content

Commit

Permalink
FIX: Display comment
Browse files Browse the repository at this point in the history
made text larger: h3 instead of h4

added check against is.na. This is a hacky fix.
  • Loading branch information
nohelix committed Jun 16, 2023
1 parent e0c3f30 commit 872337c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ ui <- fluidPage(
textOutput("requirements"),
conditionalPanel(
condition = "output.plotWeight",
h4(textOutput("displaycomment")),
h3(textOutput("displaycomment")),
),
conditionalPanel(
condition = "output.fatal_error == 'TRUE'",
Expand Down Expand Up @@ -200,7 +200,7 @@ server <- function(input, output, session) {
})
id_good <- reactive({
req(name_good(), cancelOutput = TRUE)
rat_archive %>% dplyr::filter(str_to_upper(Rat_name) == name_good()) %>% .$Rat_ID
rat_archive %>% dplyr::filter(str_to_upper(Rat_name) == name_good() & is.na(end_date)) %>% .$Rat_ID
})
observeEvent(input$name, {
alnum = name_clean() %>% str_detect("^[:alnum:]*$")
Expand Down

0 comments on commit 872337c

Please sign in to comment.