Skip to content

Commit 1a82823

Browse files
committed
chore: fix errors in module
1 parent 1a7951f commit 1a82823

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

R/tm_g_swimlane.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,9 @@ swimlanely <- function(
327327
min_size
328328
)
329329
)
330+
} else {
331+
data <- data %>%
332+
dplyr::mutate(size_var = point_size)
330333
}
331334

332335
data %>%

R/tm_t_reactable.R

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,13 @@ srv_t_reactables <- function(
6363
return(NULL)
6464
}
6565
div(
66-
include_css_files("reactable.css"),
66+
htmltools::htmlDependency(
67+
name = "teal-modules-general-reactable",
68+
version = utils::packageVersion("teal.modules.general"),
69+
package = "teal.modules.general",
70+
src = "css",
71+
stylesheet = "reactable.css"
72+
),
6773
do.call(
6874
bslib::accordion,
6975
c(

0 commit comments

Comments
 (0)