mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-26 01:27:03 +08:00
fix(shell): group shared config first in the global sidebar menu
Order is now MCP, Skills, Prompts, Sessions, Authorization, Usage: the three configs synced to clients stay together, and Usage with its daily cost sits right above the bottom bar.
This commit is contained in:
1 parent
cc9d9de57f
commit
88e40de89a
1 file changed
+10
-10
@@ -221,22 +221,22 @@ function MainDirectory({
|
||||
trailing?: string;
|
||||
alert?: string;
|
||||
}[] = [
|
||||
{
|
||||
page: "usage",
|
||||
label: t("nav.usage"),
|
||||
icon: ChartColumn,
|
||||
trailing: todayLabel,
|
||||
},
|
||||
{ page: "mcp", label: "MCP", icon: Server },
|
||||
{ page: "skills", label: "Skills", icon: SkillsIcon },
|
||||
{ page: "prompts", label: t("nav.prompts"), icon: BookOpen },
|
||||
{ page: "sessions", label: t("nav.sessions"), icon: History },
|
||||
{
|
||||
page: "auth",
|
||||
label: t("nav.auth"),
|
||||
icon: KeyRound,
|
||||
alert: authNeedsAttention ? t("nav.authNeedsReauth") : undefined,
|
||||
},
|
||||
{ page: "mcp", label: "MCP", icon: Server },
|
||||
{ page: "skills", label: "Skills", icon: SkillsIcon },
|
||||
{ page: "prompts", label: t("nav.prompts"), icon: BookOpen },
|
||||
{ page: "sessions", label: t("nav.sessions"), icon: History },
|
||||
{
|
||||
page: "usage",
|
||||
label: t("nav.usage"),
|
||||
icon: ChartColumn,
|
||||
trailing: todayLabel,
|
||||
},
|
||||
];
|
||||
|
||||
const isGlobalSelected = (page: GlobalPage) =>
|
||||
|
||||
Reference in new issue
Block a user