Skip to content

Commit

Permalink
nitpick: include report bug message at the end
Browse files Browse the repository at this point in the history
  • Loading branch information
Gero1999 committed Feb 6, 2025
1 parent 66bae79 commit aadb20e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inst/shiny/tabs/nca.R
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ observeEvent(input$nca, {
}

# Modify PKNCA to tell the user only report unexpected bugs
modified_error <- gsub("Please report a bug",
"If the error is unexpected, please report a bug:\n",
full_error)
modified_error <- gsub("Please report a bug.\n:", "",
x = full_error, fixed = TRUE) |>
paste0("<br><br>If the error is unexpected, please report a bug.")

showNotification(
HTML(modified_error),
Expand Down

0 comments on commit aadb20e

Please sign in to comment.