Pivot: default settings panel to hidden on fresh load
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7c07434049
commit
ed07dde492
@ -182,7 +182,7 @@ export default function Pivot({ source }) {
|
|||||||
await plugin.restore(parsed.plugin_config || DEFAULT_PLUGIN_CONFIG)
|
await plugin.restore(parsed.plugin_config || DEFAULT_PLUGIN_CONFIG)
|
||||||
if (parsed.expand_depth != null) await applyExpandDepth(viewer, parsed.expand_depth)
|
if (parsed.expand_depth != null) await applyExpandDepth(viewer, parsed.expand_depth)
|
||||||
} else {
|
} else {
|
||||||
await viewer.restore({ table: source, settings: true, plugin_config: DEFAULT_PLUGIN_CONFIG })
|
await viewer.restore({ table: source, settings: false, plugin_config: DEFAULT_PLUGIN_CONFIG })
|
||||||
await plugin.restore(DEFAULT_PLUGIN_CONFIG)
|
await plugin.restore(DEFAULT_PLUGIN_CONFIG)
|
||||||
}
|
}
|
||||||
await viewer.flush()
|
await viewer.flush()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user