21 |
22 | Type: {token.type}
23 |
24 |
25 | Value: {token.value}
26 |
27 | { token.time !== -1 &&
28 | Time: {token.time}
29 |
}
30 |
31 | Program: {token.program}
32 |
33 | {/* desc tends to just display value
34 | Since the default of desc is 0 we have to make sure it's not the appropriate value before hiding it */}
35 | { (String(token.desc) !== "0" || token.value === "0") &&
36 | Desc: {token.desc}
37 |
}
38 | { token.note_id !== null &&
39 | Note ID: {token.note_id}
40 |
}
41 | { token.track_id !== null &&
42 | Track: {isNaN(Number(token.track_id)) ? token.track_id : Number(token.track_id) + 1}
43 |
}
44 |