Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
michelle0927 committed Oct 8, 2024
1 parent 15187cb commit b78c20c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/xata/xata.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ export default {
database: {
type: "string",
label: "Database Name",
description: "Name of the database. Must be **non postgres enabled**.",
description: "Name of the database. Must be **NON POSTGRES ENABLED**.",
async options({ workspace }) {
const response = await this.listDatabases({
workspace,
});
const databaseNames = response.databases;
const databaseNames = response.databases.filter(({ postgresEnabled }) => !postgresEnabled);
return databaseNames.map(({ name }) => ({
value: name,
label: name,
Expand Down

0 comments on commit b78c20c

Please sign in to comment.