mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 05:37:20 +08:00
refactor(frontend): hide microagent management ui (#13060)
This commit is contained in:
@@ -14,7 +14,6 @@ import { useLogout } from "#/hooks/mutation/use-logout";
|
|||||||
import { useConfig } from "#/hooks/query/use-config";
|
import { useConfig } from "#/hooks/query/use-config";
|
||||||
import { displayErrorToast } from "#/utils/custom-toast-handlers";
|
import { displayErrorToast } from "#/utils/custom-toast-handlers";
|
||||||
import { I18nKey } from "#/i18n/declaration";
|
import { I18nKey } from "#/i18n/declaration";
|
||||||
import { MicroagentManagementButton } from "#/components/shared/buttons/microagent-management-button";
|
|
||||||
import { cn } from "#/utils/utils";
|
import { cn } from "#/utils/utils";
|
||||||
|
|
||||||
export function Sidebar() {
|
export function Sidebar() {
|
||||||
@@ -90,9 +89,6 @@ export function Sidebar() {
|
|||||||
}
|
}
|
||||||
disabled={settings?.email_verified === false}
|
disabled={settings?.email_verified === false}
|
||||||
/>
|
/>
|
||||||
<MicroagentManagementButton
|
|
||||||
disabled={settings?.email_verified === false}
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex flex-row md:flex-col md:items-center gap-[26px]">
|
<div className="flex flex-row md:flex-col md:items-center gap-[26px]">
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ export default [
|
|||||||
route("api-keys", "routes/api-keys.tsx"),
|
route("api-keys", "routes/api-keys.tsx"),
|
||||||
]),
|
]),
|
||||||
route("conversations/:conversationId", "routes/conversation.tsx"),
|
route("conversations/:conversationId", "routes/conversation.tsx"),
|
||||||
route("microagent-management", "routes/microagent-management.tsx"),
|
|
||||||
route("oauth/device/verify", "routes/device-verify.tsx"),
|
route("oauth/device/verify", "routes/device-verify.tsx"),
|
||||||
]),
|
]),
|
||||||
// Shared routes that don't require authentication
|
// Shared routes that don't require authentication
|
||||||
|
|||||||
Reference in New Issue
Block a user