mirror of
https://github.com/zadam/trilium.git
synced 2026-01-23 15:04:25 +01:00
fix(sql_console): not refreshing when switching between notes
This commit is contained in:
parent
711828d6b4
commit
8182a04eae
@ -22,7 +22,7 @@ export default function SqlConsole(props: TypeWidgetProps) {
|
||||
noteType="code"
|
||||
{...props}
|
||||
editorBefore={<SqlTableSchemas {...props} />}
|
||||
previewContent={<SqlResults {...props} />}
|
||||
previewContent={<SqlResults key={props.note.noteId} {...props} />}
|
||||
splitOptions={{
|
||||
sizes: [ 70, 30 ]
|
||||
}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user