Skip to content

Commit

Permalink
feat: added sql console for postgres and mssql
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Sep 29, 2024
1 parent 669b4d3 commit 6f5cd04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/modules/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ const actions = {
}
);
ctx.commit('setConsoleQueryResults', res.data);
if (res.data?.columns?.length && res.data?.rows?.length) {
if (res.data?.columns?.length) {
ctx.commit('setConsoleQueryResultsActiveTabName', TAB_NAME_RESULTS);
} else {
ctx.commit('setConsoleQueryResultsActiveTabName', TAB_NAME_OUTPUT);
Expand Down

0 comments on commit 6f5cd04

Please sign in to comment.