diff --git a/TASVideos/Pages/Submissions/Models/SubmissionDisplayModel.cs b/TASVideos/Pages/Submissions/Models/SubmissionDisplayModel.cs index 54a94a959..9972eb596 100644 --- a/TASVideos/Pages/Submissions/Models/SubmissionDisplayModel.cs +++ b/TASVideos/Pages/Submissions/Models/SubmissionDisplayModel.cs @@ -10,7 +10,8 @@ public class SubmissionDisplayModel : ISubmissionDisplay public bool IsCataloged => SystemId.HasValue && SystemFrameRateId.HasValue && GameId > 0 - && GameVersionId > 0; + && GameVersionId > 0 + && GameGoalId > 0; [Display(Name = "Start Type")] public MovieStartType? StartType { get; set; } @@ -100,4 +101,5 @@ public class SubmissionDisplayModel : ISubmissionDisplay internal int? SystemId { get; set; } internal int? SystemFrameRateId { get; set; } public int? GameVersionId { get; set; } + internal int? GameGoalId { get; set; } } diff --git a/TASVideos/Pages/Submissions/View.cshtml.cs b/TASVideos/Pages/Submissions/View.cshtml.cs index 0067429d2..dda34cf66 100644 --- a/TASVideos/Pages/Submissions/View.cshtml.cs +++ b/TASVideos/Pages/Submissions/View.cshtml.cs @@ -77,7 +77,8 @@ public async Task OnGet() TopicId = s.TopicId, Warnings = s.Warnings, CycleCount = s.CycleCount, - Annotations = s.Annotations + Annotations = s.Annotations, + GameGoalId = s.GameGoalId }) .SingleOrDefaultAsync();