Add DFU mode to command menu (#781)

* feat: add dfu mode to command menu

* Update packages/web/src/components/CommandPalette/index.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Dan Ditomaso
2025-08-13 21:24:45 -04:00
committed by GitHub
co-authored by Copilot
parent a2a45ac898
commit ee1758a548
2 changed files with 9 additions and 0 deletions
@@ -19,6 +19,7 @@ import {
CloudOff,
EraserIcon,
FactoryIcon,
HardDriveUpload,
LayersIcon,
LinkIcon,
type LucideIcon,
@@ -188,6 +189,13 @@ export const CommandPalette = () => {
setDialogOpen("reboot", true);
},
},
{
label: t("contextual.command.dfuMode"),
icon: HardDriveUpload,
action() {
connection?.enterDfuMode()
},
},
{
label: t("contextual.command.resetNodeDb"),
icon: TrashIcon,