From 66f86fdcb2bb297ba9cc566e8fb902e107e3097a Mon Sep 17 00:00:00 2001 From: m7pr Date: Wed, 7 Jun 2023 01:06:04 +0200 Subject: [PATCH] #28-0 bring back filter_active_vars_contents disable and enable --- R/FilteredData.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/R/FilteredData.R b/R/FilteredData.R index 9dd3e1268..d85249ea3 100644 --- a/R/FilteredData.R +++ b/R/FilteredData.R @@ -1110,6 +1110,7 @@ FilteredData <- R6::R6Class( # nolint private$filter_panel_active <- FALSE fp_id <- self$get_filter_panel_ui_id() shinyjs::disable(paste0(fp_id, "-add"), asis = TRUE) + shinyjs::disable("filter_active_vars_contents") slices <- self$get_filter_state() if (!is.null(slices)) { private$cached_states <- slices @@ -1132,6 +1133,7 @@ FilteredData <- R6::R6Class( # nolint private$filter_panel_active <- TRUE fp_id <- self$get_filter_panel_ui_id() shinyjs::enable(paste0(fp_id, "-add"), asis = TRUE) + shinyjs::enable("filter_active_vars_contents") slices <- private$cached_states # If no states were cached, use existing ones. # This is necessary because this method is called on start-up.