Skip to content

Commit

Permalink
fix: project mode count even if no settings exist (#4825)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaanus committed Sep 25, 2023
1 parent f7d87a2 commit c84f39a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/db/project-store.ts
Expand Up @@ -566,7 +566,7 @@ class ProjectStore implements IProjectStore {
)
.count(`${TABLE}.id as count`)
.from(`${TABLE}`)
.join(
.leftJoin(
`${SETTINGS_TABLE}`,
`${TABLE}.id`,
`${SETTINGS_TABLE}.project`,
Expand Down

0 comments on commit c84f39a

Please sign in to comment.