.factoryReset() split

This commit is contained in:
Tilen Komel
2024-08-29 23:04:13 +02:00
parent 2d106eb3a9
commit b1baf2d8e6
+9 -2
View File
@@ -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();
},
},
],