fix(export): persist write layout across page switches
This commit is contained in:
1 parent
49f99f57c9
commit
e795474917
2 files changed
+5
-7
No files matched your search
@@ -403,7 +403,7 @@ export type ExportWriteLayout = 'A' | 'B' | 'C'
|
||||
export async function getExportWriteLayout(): Promise<ExportWriteLayout> {
|
||||
const value = await config.get(CONFIG_KEYS.EXPORT_WRITE_LAYOUT)
|
||||
if (value === 'A' || value === 'B' || value === 'C') return value
|
||||
return 'A'
|
||||
return 'B'
|
||||
}
|
||||
|
||||
export async function setExportWriteLayout(layout: ExportWriteLayout): Promise<void> {
|
||||
|
||||
Reference in new issue
Block a user