From b1baf2d8e6199320acf78f2406df6a0b0b2e6116 Mon Sep 17 00:00:00 2001 From: Tilen Komel Date: Thu, 29 Aug 2024 23:04:13 +0200 Subject: [PATCH] .factoryReset() split --- src/components/CommandPalette.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/CommandPalette.tsx b/src/components/CommandPalette.tsx index 07f456e1..2062b740 100644 --- a/src/components/CommandPalette.tsx +++ b/src/components/CommandPalette.tsx @@ -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(); }, }, ],