mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
I dont know why javascript
This commit is contained in:
parent
1f4169c45a
commit
4acc58baf0
@ -41,7 +41,7 @@ export default function Chart({ data, color, unit, dataCollections }: ChartProps
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (dataCollections) {
|
if (dataCollections) {
|
||||||
var ticks = dataCollections?[0].data.map(function (collection) {
|
var ticks = dataCollections[0].data?.map(function (collection) {
|
||||||
return collection?.time;
|
return collection?.time;
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user