1
0
mirror of https://github.com/Unleash/unleash.git synced 2026-01-05 20:06:22 +01:00

feat: project context field adoption

This commit is contained in:
kwasniew 2025-12-17 19:52:16 +01:00
parent 660a87cf50
commit 0de6415ccb
No known key found for this signature in database
GPG Key ID: 43A7CBC24C119560

View File

@ -637,7 +637,9 @@ export class InstanceStatsService {
projectContextFieldCount(): Promise<number> {
return this.memorize('projectContextFieldCount', () =>
this.contextFieldStore.countProjectFields(),
this.flagResolver.isEnabled('projectContextFields')
? this.contextFieldStore.countProjectFields()
: Promise.resolve(0),
);
}