Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiny bug fixes #1369

Merged
merged 7 commits into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* @mlabouardy @ShubhamPalriwala @AvineshTripathi @greghub @Traxmaxx @Kolawole99 @Azanul @jakepage91
docs @jakepage91
README.md @jakepage91
CONTRIBUTING.md @jakepage91
* @mlabouardy @AvineshTripathi @greghub @Azanul
docs @mlabouardy
README.md @mlabouardy
CONTRIBUTING.md @mlabouardy
4 changes: 2 additions & 2 deletions dashboard/pages/onboarding/choose-database.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ export default function ChooseDatabase() {
<DatabaseLeftItem
imageUrl="/assets/img/database/postgresql.svg"
label="PostgreSQL"
value="postgres"
value={allDBProviders.POSTGRES}
selected={database}
handleClick={handleClick}
/>
<DatabaseLeftItem
imageUrl="/assets/img/database/sqlite.svg"
label="SQLite"
value="sqlite"
value={allDBProviders.SQLITE}
selected={database}
handleClick={handleClick}
/>
Expand Down
9 changes: 4 additions & 5 deletions dashboard/utils/providerHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,11 @@ export const allProviders: { [key in ProviderKey]: Provider } = {
};

export type DBProvider = 'postgres' | 'sqlite';
type DBProviderKey = 'POSTGRES' | 'SQLITE';

export const allDBProviders: { [key in DBProviderKey]: DBProvider } = {
POSTGRES: 'postgres',
SQLITE: 'sqlite'
};
export enum allDBProviders {
POSTGRES = 'postgres',
SQLITE = 'sqlite'
}

export enum IntegrationProvider {
SLACK = 'slack',
Expand Down
Loading