fix pre gui queries shortcircuit

This commit is contained in:
Sven Klemm
2018-07-21 09:57:42 +02:00
parent 9f0b4e0aa7
commit 84d7743939
2 changed files with 15 additions and 2 deletions

View File

@ -77,7 +77,8 @@ export default class PostgresQuery {
render(interpolate?) {
let target = this.target;
if (!('table' in this.target)) {
// new query with no table set yet
if (!this.target.rawQuery && !('table' in this.target)) {
return '';
}