@namespace Oqtane.Modules.Admin.Themes
@inherits ModuleBase
@inject IThemeService ThemeService
@if (themes == null)
{
Loading...
}
else
{
@context.Name |
@context.Version |
}
@code {
public override SecurityAccessLevel SecurityAccessLevel { get { return SecurityAccessLevel.Host; } }
List themes;
protected override async Task OnInitializedAsync()
{
themes = await ThemeService.GetThemesAsync();
}
}