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.
22 lines
597 B
Text
22 lines
597 B
Text
@page "/Games/{id:guid}/Actions"
|
|
@attribute [Authorize(Roles = RoleService.AdministratorRoleName)]
|
|
|
|
<GameEditView Id="Id" Title="Actions">
|
|
<TitleExtraTemplate>
|
|
<Space Direction="SpaceDirection.Horizontal">
|
|
<SpaceItem>
|
|
<Button Type="ButtonType.Primary" OnClick="_actionEditor.Save">Save</Button>
|
|
</SpaceItem>
|
|
</Space>
|
|
</TitleExtraTemplate>
|
|
|
|
<ChildContent>
|
|
<ActionEditor @ref="_actionEditor" />
|
|
</ChildContent>
|
|
</GameEditView>
|
|
|
|
@code {
|
|
[Parameter] public Guid Id { get; set; }
|
|
|
|
ActionEditor _actionEditor;
|
|
}
|