From 2d948a902e3041f86482faf91f144c41733c3e95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Ver=C3=ADssimo?= <211358+averissimo@users.noreply.github.com> Date: Wed, 6 Nov 2024 20:05:50 +0100 Subject: [PATCH] Update R/utils.R MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Dawid Kałędkowski Signed-off-by: André Veríssimo <211358+averissimo@users.noreply.github.com> --- R/utils.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/utils.R b/R/utils.R index e7ceeaac44..ac09c0e01d 100644 --- a/R/utils.R +++ b/R/utils.R @@ -48,7 +48,7 @@ get_teal_bs_theme <- function() { ordered_datanames <- datanames for (current in datanames) { parents <- character(0L) - while (length(current) > 0 && !current %in% parents[-1]) { + while (length(current) > 0) { current <- teal.data::parent(join_keys, current) parents <- c(current, parents) }