mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
fix: project mode count even if no settings exist (#4825)
This commit is contained in:
parent
f7d87a2339
commit
c84f39ad7c
@ -566,7 +566,7 @@ class ProjectStore implements IProjectStore {
|
|||||||
)
|
)
|
||||||
.count(`${TABLE}.id as count`)
|
.count(`${TABLE}.id as count`)
|
||||||
.from(`${TABLE}`)
|
.from(`${TABLE}`)
|
||||||
.join(
|
.leftJoin(
|
||||||
`${SETTINGS_TABLE}`,
|
`${SETTINGS_TABLE}`,
|
||||||
`${TABLE}.id`,
|
`${TABLE}.id`,
|
||||||
`${SETTINGS_TABLE}.project`,
|
`${SETTINGS_TABLE}.project`,
|
||||||
|
Loading…
Reference in New Issue
Block a user