mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-10 01:16:39 +02:00
feat: pass metrics to feature component (#6994)

This commit is contained in:
parent
206d0190ff
commit
b69c294272
@ -109,6 +109,8 @@ const FeatureOverviewMetaData = () => {
|
|||||||
name: env.name,
|
name: env.name,
|
||||||
lastSeenAt: env.lastSeenAt,
|
lastSeenAt: env.lastSeenAt,
|
||||||
enabled: env.enabled,
|
enabled: env.enabled,
|
||||||
|
yes: env.yes,
|
||||||
|
no: env.no,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const IconComponent = getFeatureTypeIcons(type);
|
const IconComponent = getFeatureTypeIcons(type);
|
||||||
|
@ -69,6 +69,8 @@ export interface IFeatureEnvironment {
|
|||||||
strategies: IFeatureStrategy[];
|
strategies: IFeatureStrategy[];
|
||||||
variants?: IFeatureVariant[];
|
variants?: IFeatureVariant[];
|
||||||
lastSeenAt?: string;
|
lastSeenAt?: string;
|
||||||
|
yes?: number;
|
||||||
|
no?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IFeatureEnvironmentWithCrEnabled extends IFeatureEnvironment {
|
export interface IFeatureEnvironmentWithCrEnabled extends IFeatureEnvironment {
|
||||||
|
Loading…
Reference in New Issue
Block a user