2024-10-22 23:49:21 -05:00
|
|
|
@page "/Games/{id:guid}/SavePaths"
|
|
|
|
|
@attribute [Authorize(Roles = RoleService.AdministratorRoleName)]
|
|
|
|
|
|
|
|
|
|
<GameEditView Id="Id" Title="Save Paths">
|
2025-01-24 23:16:12 -06:00
|
|
|
<TitleExtraTemplate>
|
|
|
|
|
<Flex Gap="FlexGap.Small" Justify="FlexJustify.End">
|
2026-06-12 23:48:11 -05:00
|
|
|
<Button Type="ButtonType.Primary" OnClick="() => _savePathEditor?.Save()">Save</Button>
|
2025-01-24 23:16:12 -06:00
|
|
|
</Flex>
|
|
|
|
|
</TitleExtraTemplate>
|
|
|
|
|
|
|
|
|
|
<ChildContent>
|
2025-12-08 00:51:32 -06:00
|
|
|
<SavePathEditor @ref="_savePathEditor" />
|
2025-01-24 23:16:12 -06:00
|
|
|
</ChildContent>
|
2024-10-22 23:49:21 -05:00
|
|
|
</GameEditView>
|
|
|
|
|
|
|
|
|
|
@code {
|
|
|
|
|
[Parameter] public Guid Id { get; set; }
|
|
|
|
|
|
2025-12-08 00:51:32 -06:00
|
|
|
SavePathEditor _savePathEditor;
|
2024-10-22 23:49:21 -05:00
|
|
|
}
|