Skip to content

Commit

Permalink
Fix to schema browser listing
Browse files Browse the repository at this point in the history
Signed-off-by: worksofliam <[email protected]>
  • Loading branch information
worksofliam committed Aug 6, 2024
1 parent bc6bb4f commit b86f981
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/database/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ export default class Schemas {
details.filter ? `where UPPER(SCHEMA_NAME) = ? or UPPER(SYSTEM_SCHEMA_NAME) = ?` : ``,
].join(` `));

parameters.push(details.filter, details.filter);
if (details.filter) {
parameters.push(details.filter, details.filter);
}
break;

case `tables`:
Expand Down

0 comments on commit b86f981

Please sign in to comment.