Fix several regressions in master (#613)

* Fix service option type enum

* Fix broken Explain button and Actual plan command
This commit is contained in:
Karl Burtram
2018-02-06 15:22:03 -05:00
committed by GitHub
parent bbb0f39a94
commit b7c935c602
12 changed files with 190 additions and 51 deletions

View File

@@ -68,10 +68,9 @@ export class ConnectionConfig implements IConnectionConfig {
allGroups = allGroups.concat(userGroups);
}
allGroups = allGroups.map(g => {
// @SQLTODO
// if (g.parentId === '' || !g.parentId) {
// g.parentId = undefined;
// }
if (g.parentId === '' || !g.parentId) {
g.parentId = undefined;
}
return g;
});
return allGroups;