TAK-70 history empty
This commit is contained in:
parent
98dddc9f6e
commit
aa5a9218d7
@ -220,7 +220,9 @@ profilServer <- function(input, output,session) {
|
||||
|
||||
# print(typeof(do.call(c,(content(r)$predictions))))
|
||||
# v<-do.call(c,(content(r)$predictions))
|
||||
|
||||
if(is.null(content(r)$predictions)){
|
||||
DT::datatable(data.frame(Nazwa=character(),Wynik=numeric(),Data=character()),options = list(scrollX = TRUE,language=pl))
|
||||
}else{
|
||||
df_historyTable<-as.data.frame(do.call(rbind, (content(r)$predictions)))
|
||||
|
||||
# print(typeof(df_historyTable))
|
||||
@ -245,6 +247,7 @@ profilServer <- function(input, output,session) {
|
||||
# as.Date(df_historyTable$Data)
|
||||
|
||||
DT::datatable(df_historyTable,options = list(scrollX = TRUE,language=pl))}
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
@ -275,6 +278,7 @@ profilServer <- function(input, output,session) {
|
||||
})
|
||||
|
||||
pl <- list(
|
||||
emptyTable="Tabela jest pusta",
|
||||
sSearch = "Szukaj",
|
||||
sInfo="Wyniki od _START_ do _END_ z _TOTAL_ rekordow",
|
||||
sZeroRecords="Brak rekordow",
|
||||
|
Loading…
Reference in New Issue
Block a user