LANCommander/LANCommander.Server/UI/Pages/Games/Edit/Scripts.razor
Pat Hartl 20731f355a Fix certain taxonomies (tag, genre, platform) being removed from game on save
Fixes the action, custom field, multiplayer mode, and save path editors from clearing out taxonomies when saving. Also passes the Game/Server/Redistributable ID as a cascading parameter.
2025-12-08 00:51:32 -06:00

10 lines
412 B
Text

@page "/Games/{id:guid}/Scripts"
@attribute [Authorize(Roles = RoleService.AdministratorRoleName)]
<GameEditView Id="Id" Title="Scripts">
<ScriptEditor AllowedTypes="new[] { ScriptType.Install, ScriptType.Uninstall, ScriptType.NameChange, ScriptType.KeyChange, ScriptType.BeforeStart, ScriptType.AfterStop, ScriptType.Package }" />
</GameEditView>
@code {
[Parameter] public Guid Id { get; set; }
}