logical icon

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-03-20 13:12:51 +01:00
parent 2495da555a
commit 7df711424e
No known key found for this signature in database

View file

@ -282,6 +282,8 @@ add_class_icon <- function(grid, column = "class") {
shiny::icon("arrow-down-1-9") shiny::icon("arrow-down-1-9")
} else if (identical(x, "character")) { } else if (identical(x, "character")) {
shiny::icon("arrow-down-a-z") shiny::icon("arrow-down-a-z")
} else if (identical(x, "logical")) {
shiny::icon("toggle-off")
} else if (any(c("Date", "POSIXct", "POSIXt") %in% x)) { } else if (any(c("Date", "POSIXct", "POSIXt") %in% x)) {
shiny::icon("calendar-days") shiny::icon("calendar-days")
} else if ("hms" %in% x) { } else if ("hms" %in% x) {