mirror of
https://github.com/owncast/owncast.git
synced 2024-11-29 11:39:08 +03:00
I dont know why javascript
This commit is contained in:
parent
1f4169c45a
commit
4acc58baf0
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ export default function Chart({ data, color, unit, dataCollections }: ChartProps
|
|||
};
|
||||
|
||||
if (dataCollections) {
|
||||
var ticks = dataCollections?[0].data.map(function (collection) {
|
||||
var ticks = dataCollections[0].data?.map(function (collection) {
|
||||
return collection?.time;
|
||||
})
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue