mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
24 lines
598 B
C#
24 lines
598 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.AspNetCore.Components;
|
|
using Wabbajack.App.Models;
|
|
|
|
namespace Wabbajack.App.Blazor.Pages;
|
|
|
|
public partial class Settings
|
|
{
|
|
[Inject] private ResourceSettingsManager _resourceSettingsManager { get; set; }
|
|
|
|
protected override async Task OnInitializedAsync()
|
|
{
|
|
try
|
|
{
|
|
ResourceSettingsManager.ResourceSetting resource = await _resourceSettingsManager.GetSettings("Downloads");
|
|
StateHasChanged();
|
|
}
|
|
catch (Exception ex) { }
|
|
|
|
await base.OnInitializedAsync();
|
|
}
|
|
}
|