mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 07:36:01 +00:00
fixed jsonl problems, support jsonl without header
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
const config = writable(createGridConfig());
|
||||
const cache = writable(createGridCache());
|
||||
|
||||
$: display = new JslGridDisplay(jslid, $info, $config, config.update, $cache, cache.update, loadedRows);
|
||||
$: display = new JslGridDisplay(jslid, $info, $config, config.update, $cache, cache.update, loadedRows, $info?.__isDynamicStructure);
|
||||
</script>
|
||||
|
||||
{#key jslid}
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
category: 'JSON Lines editor',
|
||||
name: 'Preview',
|
||||
icon: 'icon preview',
|
||||
keyText: 'F5',
|
||||
testEnabled: () => getCurrentEditor() != null,
|
||||
onClick: () => getCurrentEditor().preview(),
|
||||
});
|
||||
@@ -99,6 +100,7 @@
|
||||
title: 'Preview #',
|
||||
icon: 'img archive',
|
||||
tabComponent: 'ArchiveFileTab',
|
||||
forceNewTab: true,
|
||||
props: {
|
||||
jslid,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user