mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 14:46:01 +00:00
jsonl preview
This commit is contained in:
@@ -266,11 +266,16 @@ registerCommand({
|
||||
name: 'JSON Lines',
|
||||
menuName: 'New JSON lines file',
|
||||
onClick: () => {
|
||||
openNewTab({
|
||||
title: 'Lines #',
|
||||
icon: 'img archive',
|
||||
tabComponent: 'JsonLinesEditorTab',
|
||||
});
|
||||
openNewTab(
|
||||
{
|
||||
title: 'Lines #',
|
||||
icon: 'img archive',
|
||||
tabComponent: 'JsonLinesEditorTab',
|
||||
},
|
||||
{
|
||||
editor: '{"col1": "val1", "col2": "val2"}',
|
||||
}
|
||||
);
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user