Skip to content

Commit

Permalink
revert fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ginberg committed Oct 13, 2019
1 parent 8c43a79 commit 7dca316
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions R/downloadFile.R
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,7 @@ downloadFile <- function(input, output, session, logger,
openxlsx::saveWorkbook(data, file)
}
else {
show_rownames <- attr(data, "show_rownames")
openxlsx::write.xlsx(data, file,
asTable = TRUE,
row.names = !is.null(show_rownames) && show_rownames)
openxlsx::write.xlsx(data, file, asTable = TRUE)
}
}
# text file processing
Expand Down

0 comments on commit 7dca316

Please sign in to comment.