From c8a11bee7f64288e6e7686ded640dc9297d5c350 Mon Sep 17 00:00:00 2001 From: Pat Hartl Date: Mon, 20 Mar 2023 20:46:11 -0500 Subject: [PATCH] Databind on scripts instead of game --- LANCommander/Components/ScriptEditor.razor | 15 +++++++++------ LANCommander/Pages/Games/Edit.razor | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/LANCommander/Components/ScriptEditor.razor b/LANCommander/Components/ScriptEditor.razor index 40cc432..4bd932b 100644 --- a/LANCommander/Components/ScriptEditor.razor +++ b/LANCommander/Components/ScriptEditor.razor @@ -64,7 +64,7 @@ - +
@context.CreatedBy?.UserName @@ -100,7 +100,10 @@ @code { - [Parameter] public Game Game { get; set; } + [Parameter] public Guid GameId { get; set; } + [Parameter] public Guid ArchiveId { get; set; } + [Parameter] public ICollection