This commit is contained in:
David Brazda
2023-09-06 10:12:58 +02:00
parent 76411c991a
commit 073b19edfd

View File

@ -30,6 +30,7 @@ function transform_data(data) {
prev_id = 0
//cas of first record, nekdy jsou stejny - musim pridat setinku
prev_cas = 0
if ((data.ext_data !== null) && (data.ext_data.sl_history)) {
data.ext_data.sl_history.forEach((histRecord, index, array) => {
console.log("plnime")
@ -79,6 +80,7 @@ function transform_data(data) {
}
});
}
data.bars.time.forEach((element, index, array) => {
sbars = {};