Skip to content

Commit

Permalink
Revert "Update components-data-viewer.R"
Browse files Browse the repository at this point in the history
This reverts commit b10f2f7.
  • Loading branch information
nhall6 committed Oct 4, 2023
1 parent 9d9e468 commit 376ed0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/components-data-viewer.R
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ function filterMinValue(rows, columnId, filterValue) {
# Display message when dat is empty
shiny::validate(shiny::need(hasData(data), "No data for selection"))
# set row height based on nchar of table
if(max(apply(data, 1, function(x) max(nchar(x))), na.rm = T) < 120){
if(max(apply(data, 1, function(x) max(nchar(x))), na.rm = T) < 100){
height <- 40*3
} else{
height <- NULL
Expand Down

0 comments on commit 376ed0f

Please sign in to comment.