@model WritingIntentDisplayViewModel @{ var scene = Model.Context?.Scene; var threadEvents = scene?.ThreadEvents.ToList() ?? []; static string TextOr(string? value, string fallback) => string.IsNullOrWhiteSpace(value) ? fallback : value.Trim(); }

Story Threads

@if (!threadEvents.Any()) {

No story thread events recorded for this scene.

} else { }