Fix synchronicity.

This commit is contained in:
2020-05-24 22:24:35 +01:00
parent 737f69d7da
commit ea7e89f9b0
2 changed files with 5 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Version>3.0.99.1098</Version>
<Version>3.0.99.1100</Version>
<Company>Canary Islands Computer Museum</Company>
<Copyright>Copyright © 2003-2020 Natalia Portillo</Copyright>
<Product>Canary Islands Computer Museum Website</Product>
@@ -82,6 +82,9 @@
<Content Update="Pages\Admin\SoundSynths.razor">
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
</Content>
<Content Update="Pages\Admin\Details\Company.razor">
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
</Content>
</ItemGroup>
<ItemGroup>
<_ContentIncludedByDefault Remove="Areas\Admin\Views\BrowserTests\Delete.cshtml" />

View File

@@ -47,6 +47,6 @@ namespace Marechai.Pages.Admin
void ModalClosing(ModalClosingEventArgs obj) => _screen = null;
protected override async Task OnInitializedAsync() => _screens = await Service.GetAsync();
protected override void OnInitialized() => _screens = Service.Get();
}
}