fix: load titles

fixed issue where titles where not loaded in roll mode
This commit is contained in:
cv
2021-10-29 13:25:45 +02:00
parent ba3f0372dd
commit 3a85a483c1
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -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;
+2 -1
View File
@@ -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)