mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-20 14:39:06 +00:00
fix: load titles
fixed issue where titles where not loaded in roll mode
This commit is contained in:
@@ -20,6 +20,8 @@ export default function Info() {
|
|||||||
const [selected, setSelected] = useState('No events');
|
const [selected, setSelected] = useState('No events');
|
||||||
const logData = [];
|
const logData = [];
|
||||||
|
|
||||||
|
console.log(`titles`, titles);
|
||||||
|
|
||||||
// handle incoming messages
|
// handle incoming messages
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (socket == null) return;
|
if (socket == null) return;
|
||||||
|
|||||||
@@ -996,7 +996,8 @@ export class EventTimer extends Timer {
|
|||||||
|
|
||||||
if (nextIndex != null) {
|
if (nextIndex != null) {
|
||||||
// load titles
|
// load titles
|
||||||
this._loadThisTitles(nextIndex, 'next');
|
const e = this._eventlist[nextIndex];
|
||||||
|
this._loadThisTitles(e, 'next');
|
||||||
|
|
||||||
if (foundNow == null) {
|
if (foundNow == null) {
|
||||||
if (this.secondaryTimer == null)
|
if (this.secondaryTimer == null)
|
||||||
|
|||||||
Reference in New Issue
Block a user