mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-14 03:43:50 +00:00
refactor: small code improvements
This commit is contained in:
committed by
Carlos Valente
parent
e5d2457717
commit
9ab6b30aea
@@ -771,7 +771,7 @@ export function loadGroupFlagAndEnd(
|
||||
currentIndex: MaybeNumber,
|
||||
state = runtimeState,
|
||||
) {
|
||||
if (currentIndex === null) return resetMetaData();
|
||||
if (currentIndex == null) return resetMetaData();
|
||||
if (state.eventNow === null) return resetMetaData();
|
||||
|
||||
const currentGroupId = state.eventNow.parent;
|
||||
|
||||
Reference in New Issue
Block a user