diff options
author | Naeem Model <me@nmode.ca> | 2024-11-02 18:13:28 +0000 |
---|---|---|
committer | Naeem Model <me@nmode.ca> | 2024-11-02 18:13:28 +0000 |
commit | 94b4dcd37e662eb1e525dc241817c8dd5d4681fc (patch) | |
tree | f5ef5b90bf2307dd28ae946413350e34a159b7fa /inst/app/scripts/data.R | |
parent | 9fd931aeeba4ab7bdede1a625f64e7024c2b55aa (diff) |
Add input validation to estimators
Diffstat (limited to 'inst/app/scripts/data.R')
-rw-r--r-- | inst/app/scripts/data.R | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/inst/app/scripts/data.R b/inst/app/scripts/data.R index c85e27b..8f8694c 100644 --- a/inst/app/scripts/data.R +++ b/inst/app/scripts/data.R @@ -141,9 +141,7 @@ validate_data <- function(input, output, react_values, data_source) { # corresponding columns in the estimates table. update_estimates_cols(new_rows, react_values) - showNotification("Datasets added successfully.", - duration = 3, id = "notify-success" - ) + showNotification("Datasets added successfully.", duration = 3) } }, error = function(e) { @@ -195,9 +193,7 @@ load_samples <- function(input, output, react_values) { # corresponding columns in the estimates table. update_estimates_cols(new_rows, react_values) - showNotification("Datasets added successfully.", - duration = 3, id = "notify-success" - ) + showNotification("Datasets added successfully.", duration = 3) } }) } |