diff --git a/Oqtane.Client/UI/Installer.razor b/Oqtane.Client/UI/Installer.razor index 90d7dbd9..204197f6 100644 --- a/Oqtane.Client/UI/Installer.razor +++ b/Oqtane.Client/UI/Installer.razor @@ -3,6 +3,7 @@ @inject IInstallationService InstallationService @inject ISiteService SiteService @inject IUserService UserService +@inject IJSRuntime JSRuntime
@@ -138,6 +139,15 @@ private string _integratedSecurityDisplay = "display: none;"; private string _loadingDisplay = "display: none;"; + protected override async Task OnAfterRenderAsync(bool firstRender) + { + if (firstRender) + { + var interop = new Interop(JSRuntime); + await interop.IncludeLink("app-stylesheet", "stylesheet", "https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css", "text/css", "sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T", "anonymous", ""); + } + } + private void SetIntegratedSecurity(ChangeEventArgs e) { _integratedSecurityDisplay = Convert.ToBoolean((string)e.Value)