This commit is contained in:
Jan Prochazka 2022-09-25 20:10:56 +02:00
parent 2b26779ea8
commit 1454ddacb8

View File

@ -305,6 +305,8 @@
}
function updateAnnotations() {
if (!mode?.includes('sql')) return;
editor?.session?.setAnnotations([
...(queryParts || [])
.filter(part => !(errorMessages || []).find(err => err.line == part.trimStart.line))