Mix backend and frontend queries from one panel

This commit is contained in:
Alexander Zobnin
2021-06-01 20:47:16 +03:00
parent 16fe4795b3
commit c546f2143d
3 changed files with 47 additions and 70 deletions

View File

@@ -51,7 +51,9 @@ function migrateQueryType(target) {
}
// queryType is a string in query model
target.queryType = (target.queryType as number).toString();
if (typeof target.queryType === 'number') {
target.queryType = (target.queryType as number)?.toString();
}
}
function migrateSLA(target) {