Skip to content

Commit 8217960

Browse files
authored
Merge pull request #281 from hchen2020/master
Change path.
2 parents c319b3e + aa16cfd commit 8217960

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/Infrastructure/BotSharp.Core/Agents/AgentPlugin.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ public bool AttachMenu(List<PluginMenuDef> menu)
3636
{
3737
SubMenu = new List<PluginMenuDef>
3838
{
39-
new PluginMenuDef("Router", link: "/page/agent/router"), // icon: "bx bx-map-pin"
40-
new PluginMenuDef("Evaluator", link: "/page/agent/evaluator"), // icon: "bx bx-task"
41-
new PluginMenuDef("Agents", link: "/page/agent"), // icon: "bx bx-bot"
39+
new PluginMenuDef("Router", link: "page/agent/router"), // icon: "bx bx-map-pin"
40+
new PluginMenuDef("Evaluator", link: "page/agent/evaluator"), // icon: "bx bx-task"
41+
new PluginMenuDef("Agents", link: "page/agent"), // icon: "bx bx-bot"
4242
}
4343
});
4444

src/Infrastructure/BotSharp.Core/Conversations/ConversationPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void RegisterDI(IServiceCollection services, IConfiguration config)
5151
public bool AttachMenu(List<PluginMenuDef> menu)
5252
{
5353
var section = menu.First(x => x.Label == "Apps");
54-
menu.Add(new PluginMenuDef("Conversation", link: "/page/conversation", icon: "bx bx-conversation", weight: section.Weight + 5));
54+
menu.Add(new PluginMenuDef("Conversation", link: "page/conversation", icon: "bx bx-conversation", weight: section.Weight + 5));
5555
return true;
5656
}
5757
}

src/Plugins/BotSharp.Plugin.Dashboard/DashboardPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void RegisterDI(IServiceCollection services, IConfiguration config)
2626
public bool AttachMenu(List<PluginMenuDef> menu)
2727
{
2828
var section = menu.First(x => x.Label == "Apps");
29-
menu.Add(new PluginMenuDef("Dashboard", link: "/page/dashboard", icon: "bx bx-home-circle", weight: section.Weight - 1));
29+
menu.Add(new PluginMenuDef("Dashboard", link: "page/dashboard", icon: "bx bx-home-circle", weight: section.Weight - 1));
3030
return true;
3131
}
3232
}

src/Plugins/BotSharp.Plugin.MongoStorage/MongoStoragePlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public void RegisterDI(IServiceCollection services, IConfiguration config)
3333
public bool AttachMenu(List<PluginMenuDef> menu)
3434
{
3535
var section = menu.First(x => x.Label == "Apps");
36-
menu.Add(new PluginMenuDef("MongoDB", icon: "bx bx-data", link: "/page/mongodb", weight: section.Weight + 10));
36+
menu.Add(new PluginMenuDef("MongoDB", icon: "bx bx-data", link: "page/mongodb", weight: section.Weight + 10));
3737
return true;
3838
}
3939
}

0 commit comments

Comments
 (0)