Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions R/FilterState.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ FilterState <- R6::R6Class( # nolint

# public methods ----
public = list(

#' @description
#' Initialize a `FilterState` object.
#'
Expand Down Expand Up @@ -107,7 +106,7 @@ FilterState <- R6::R6Class( # nolint
varlabel
}

private$state_history <- reactiveVal(list())
private$state_history <- withReactiveDomain(NULL, reactiveVal(list()))

invisible(self)
})
Expand Down
2 changes: 1 addition & 1 deletion R/FilterStates.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ FilterStates <- R6::R6Class( # nolint
}
private$data <- data
private$data_reactive <- data_reactive
private$state_list <- reactiveVal()
private$state_list <- withReactiveDomain(NULL, reactiveVal())

# Clears state list when finalizing the object
private$session_bindings[["clear_state_list"]] <- list(
Expand Down
2 changes: 1 addition & 1 deletion R/FilteredDataset.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ FilteredDataset <- R6::R6Class( # nolint
logger::log_debug("Instantiating { class(self)[1] }, dataname: { dataname }")
checkmate::assert_character(keys, any.missing = FALSE)
checkmate::assert_character(label, null.ok = TRUE)
private$allow_add <- reactiveVal(TRUE)
private$allow_add <- withReactiveDomain(NULL, reactiveVal(TRUE))
private$dataset <- dataset
private$dataname <- dataname
private$keys <- keys
Expand Down
Loading