Skip to content

Commit

Permalink
fix issue on static menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Hossein223 committed Nov 17, 2023
1 parent eb4f66e commit 0e24f16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions Domain/Logic/AuthroziedFeatureInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public static XElement RenderMenu(Feature currentFeature, bool renderEveryThingI

static AuthroziedFeatureInfo[] AddEverythingItem(AuthroziedFeatureInfo[] items)
{

var everything = new AuthroziedFeatureInfo
{
Feature = new Feature
Expand All @@ -35,12 +36,10 @@ static AuthroziedFeatureInfo[] AddEverythingItem(AuthroziedFeatureInfo[] items)
{
Title = "AI Register v2(beta)",
LoadUrl = "https://airiskregisterv2.app.geeks.ltd/ai-registers",
Icon = "fas fa-th"
Icon = "fas fa-th",
}
};
items.Prepend(aiRiskRegister);

return items.Prepend(everything).ToArray();
};
return items.Prepend(aiRiskRegister).Prepend(everything).ToArray();
}

public static async Task<XElement> RenderMenuJson()
Expand Down
2 changes: 1 addition & 1 deletion Olive.Microservices.Hub.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Authors>Geeks Ltd</Authors>
<RepositoryUrl>https://github.com/Geeksltd/Olive.Microservices.Hub/tree/master/Olive.Microservices.Hub</RepositoryUrl>
<PackageIcon>icon.png</PackageIcon>
<Version>1.5.27</Version>
<Version>1.5.28</Version>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
<Nullable>warnings</Nullable>
Expand Down

0 comments on commit 0e24f16

Please sign in to comment.