1
0
Fork 0
forked from TWS/kalkutago

Compare commits

...

1 commit

Author SHA1 Message Date
D. Scott Boggs 4277d663d0 remove extra console.log call 2023-06-25 15:26:53 -04:00

View file

@ -25,8 +25,12 @@ export const state = reactive({
source.addEventListener("open", () => console.debug("opened event source"))
source.addEventListener('message', event => console.log(event))
source.addEventListener('TickAdded', event => {
<<<<<<< Updated upstream
console.log(event)
const tick: Tick = JSON.parse(event.data)
=======
const tick: Tick = Tick.fromJSON(JSON.parse(event.data))
>>>>>>> Stashed changes
const tracks = this.tracks.map(track => {
if (track.id === tick.track_id) {
const ticks = track.ticks ?? []