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:
parent
660a87cf50
commit
0de6415ccb
@ -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),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user