From 94b4dcd37e662eb1e525dc241817c8dd5d4681fc Mon Sep 17 00:00:00 2001 From: Naeem Model Date: Sat, 2 Nov 2024 18:13:28 +0000 Subject: Add input validation to estimators --- inst/app/scripts/data.R | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'inst/app/scripts/data.R') 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) } }) } -- cgit v1.2.3