diff --git a/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Pages/ApiKeysPage.razor b/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Pages/ApiKeysPage.razor
index 9874d9a..b23eff2 100644
--- a/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Pages/ApiKeysPage.razor
+++ b/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Pages/ApiKeysPage.razor
@@ -1,5 +1,6 @@
@page "/apikeys"
@inherits DashboardPageBase
+@using ZB.MOM.WW.MxGateway.Server.Security.Authentication
@inject AuthenticationStateProvider AuthenticationStateProvider
@inject IDashboardApiKeyManagementService ApiKeyManagementService
@@ -416,7 +417,7 @@ else
KeyId: CreateModel.KeyId,
DisplayName: CreateModel.DisplayName,
Scopes: CreateModel.SelectedScopes,
- Constraints: new ZB.MOM.WW.MxGateway.Server.Security.Authentication.ApiKeyConstraints(
+ Constraints: new ApiKeyConstraints(
ReadSubtrees: ParseList(CreateModel.ReadSubtrees),
WriteSubtrees: ParseList(CreateModel.WriteSubtrees),
ReadTagGlobs: ParseList(CreateModel.ReadTagGlobs),
@@ -447,7 +448,7 @@ else
}
}
- private static string ConstraintText(ZB.MOM.WW.MxGateway.Server.Security.Authentication.ApiKeyConstraints constraints)
+ private static string ConstraintText(ApiKeyConstraints constraints)
{
if (constraints.IsEmpty)
{
diff --git a/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Pages/GalaxyPage.razor b/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Pages/GalaxyPage.razor
index f3e072b..f1d73ea 100644
--- a/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Pages/GalaxyPage.razor
+++ b/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Pages/GalaxyPage.razor
@@ -1,5 +1,6 @@
@page "/galaxy"
@inherits DashboardPageBase
+@using ZB.MOM.WW.MxGateway.Server.Galaxy
Dashboard Galaxy
@@ -140,7 +141,7 @@ else
@code {
[Inject]
- private IOptions GalaxyOptions { get; set; } = null!;
+ private IOptions GalaxyOptions { get; set; } = null!;
private string RefreshHeading()
{