mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: fix pretest display
This commit is contained in:
1 parent
35425f74e2
commit
a03ee5ec2c
3 files changed
+5
-3
No files matched your search
@@ -6,7 +6,9 @@ export default function reducer(state = {
|
||||
size: '50%',
|
||||
},
|
||||
pretest: {
|
||||
visible: localStorage.getItem('scratchpad/pretest') === 'true',
|
||||
visible: ['default', 'fileio'].includes(UiContext.pdoc.config?.type)
|
||||
? localStorage.getItem('scratchpad/pretest') === 'true'
|
||||
: false,
|
||||
size: 200,
|
||||
},
|
||||
records: {
|
||||
|
||||
Reference in new issue
Block a user