@if (inputUndatedEvents != null && inputUndatedEvents.length > 0) { }