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