Skip to content

Commit

Permalink
fix 2024 column in composition table
Browse files Browse the repository at this point in the history
  • Loading branch information
langbart committed Mar 14, 2024
1 parent 9ff0850 commit 7049a02
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions R/mod_composition_table.R
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ mod_composition_table_react_server <- function(id, cols = NULL, var = "catch", i
style = reactablefmtr::color_scales(., colors = cols, opacity = 0.75),
cell = t_format
),
"2024" = reactable::colDef(
minWidth = 90,
format = reactable::colFormat(separators = TRUE),
style = reactablefmtr::color_scales(., colors = cols, opacity = 0.75),
cell = t_format
),
urls = reactable::colDef(
name = "",
minWidth = 120,
Expand Down

0 comments on commit 7049a02

Please sign in to comment.