Merge pull request #937 from sbwalker/dev

missing using statement causing compilation error
This commit is contained in:
Shaun Walker 2020-11-20 10:21:00 -05:00 committed by GitHub
commit 13e98e9d51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop; using Microsoft.JSInterop;
using Oqtane.Providers; using Oqtane.Providers;
using Oqtane.Services; using Oqtane.Services;
using Oqtane.Shared; using Oqtane.UI;
namespace Oqtane.Themes.Controls namespace Oqtane.Themes.Controls
{ {
@ -29,7 +29,7 @@ namespace Oqtane.Themes.Controls
{ {
await UserService.LogoutUserAsync(PageState.User); await UserService.LogoutUserAsync(PageState.User);
if (PageState.Runtime == Runtime.Server) if (PageState.Runtime == Oqtane.Shared.Runtime.Server)
{ {
// server-side Blazor // server-side Blazor
var interop = new Interop(jsRuntime); var interop = new Interop(jsRuntime);