Skip to content

Commit

Permalink
.factoryReset() split
Browse files Browse the repository at this point in the history
  • Loading branch information
KomelT committed Aug 29, 2024
1 parent 2d106eb commit b1baf2d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/components/CommandPalette.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,17 @@ export const CommandPalette = (): JSX.Element => {
},
},
{
label: "Factory Reset",
label: "Factory Reset Device",
icon: FactoryIcon,
action() {
connection?.factoryReset();
connection?.factoryResetDevice();
},
},
{
label: "Factory Reset Config",
icon: FactoryIcon,
action() {
connection?.factoryResetConfig();
},
},
],
Expand Down

0 comments on commit b1baf2d

Please sign in to comment.