Skip to content

armgit / Handy

Public Imported from GitHub
0

A free, open source, and extensible speech-to-text application that works completely offline.

Refactor Sidebar settings structure (#1720)

Mika Krulcdf5028b5a8f
diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx
index d70c8daf..95ec0c61 100644
--- a/src/components/Sidebar.tsx
+++ b/src/components/Sidebar.tsx
@@ -38,6 +38,12 @@ export const SECTIONS_CONFIG = {
component: GeneralSettings,
enabled: () => true,
},
+ history: {
+ labelKey: "sidebar.history",
+ icon: History,
+ component: HistorySettings,
+ enabled: () => true,
+ },
models: {
labelKey: "sidebar.models",
icon: Cpu,
@@ -50,12 +56,6 @@ export const SECTIONS_CONFIG = {
component: AdvancedSettings,
enabled: () => true,
},
- history: {
- labelKey: "sidebar.history",
- icon: History,
- component: HistorySettings,
- enabled: () => true,
- },
postprocessing: {
labelKey: "sidebar.postProcessing",
icon: Sparkles,