fix: frontend/options: 'invert order' not saved

Massimo Melina committed Jun 21, 2022 at 11:54 UTC f0f46bb056913d2795e2932c59655c87ea7c0d92
1 file changed +1 -1
frontend/src/state.ts
+1 -1
@@ -50,7 +50,7 @@ export function useSnapState() {
50 }
51
52 const SETTINGS_KEY = 'hfs_settings'
53 -const SETTINGS_TO_STORE: (keyof typeof state)[] = ['sortBy','foldersFirst','theme']
53 +const SETTINGS_TO_STORE: (keyof typeof state)[] = ['sortBy', 'invertOrder', 'foldersFirst', 'theme']
54
55 loadSettings()
56 for (const k of SETTINGS_TO_STORE)