mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
fix
This commit is contained in:
parent
2b26779ea8
commit
1454ddacb8
@ -305,6 +305,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function updateAnnotations() {
|
function updateAnnotations() {
|
||||||
|
if (!mode?.includes('sql')) return;
|
||||||
|
|
||||||
editor?.session?.setAnnotations([
|
editor?.session?.setAnnotations([
|
||||||
...(queryParts || [])
|
...(queryParts || [])
|
||||||
.filter(part => !(errorMessages || []).find(err => err.line == part.trimStart.line))
|
.filter(part => !(errorMessages || []).find(err => err.line == part.trimStart.line))
|
||||||
|
Loading…
Reference in New Issue
Block a user