Skip to content

Commit

Permalink
Flytt noe kode...
Browse files Browse the repository at this point in the history
  • Loading branch information
arnfinn committed Dec 11, 2024
1 parent 4218fb6 commit 6483b9c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/autoReport.R
Original file line number Diff line number Diff line change
Expand Up @@ -801,14 +801,14 @@ makeAutoReportTab <- function(session,
filterAutoRep(by = "organization", pass = orgId)
}

if (length(autoRep$id) == 0) {
return(as.matrix(autoRep))
}

dateFormat <- "%A %e. %B %Y"

target <- getConfig(fileName = "rapbaseConfig.yml")$r$raplog$target
if (target == "db") {
if (length(autoRep$id) == 0) {
return(as.matrix(autoRep))
}

l <- list()
for (i in seq_len(nrow(autoRep))) {
runDayOfYear <- as.vector(
Expand Down

0 comments on commit 6483b9c

Please sign in to comment.