Skip to content

Commit

Permalink
Tiny bug fixes (#1369)
Browse files Browse the repository at this point in the history
* feat: mark successful triggering of workflow even without any supported resources

Signed-off-by: Azanul <[email protected]>

* feat: engines entry

Signed-off-by: Azanul <[email protected]>

* feat: reduce code duplication

Signed-off-by: Azanul <[email protected]>

* feat: update codeowners

Signed-off-by: Azanul <[email protected]>

---------

Signed-off-by: Azanul <[email protected]>
  • Loading branch information
Azanul authored Mar 8, 2024
1 parent afa6845 commit 512a905
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/CODEOWNERS
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

0 comments on commit 512a905

Please sign in to comment.